.device-page{--dev-green:#6bb667;--dev-ink:#020812;--dev-soft:rgba(2,8,18,.45);padding:0 16px 22px;color:var(--dev-ink);font-size:14px;line-height:22px;min-width:0}.device-page *{box-sizing:border-box}.device-page button{font:inherit}.device-page h2,.device-page h3,.device-page p{margin:0}.device-page h2{font-size:21px;line-height:30px;font-weight:600}.device-page h3{font-size:16px;line-height:24px;font-weight:600}.device-page .glass{background:rgba(255,255,255,.6);border:.5px solid rgba(255,255,255,.95);border-radius:20px;backdrop-filter:blur(20px);box-shadow:0 4px 16px rgba(4,9,17,.025)}.dev-tabs{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-tabs-labels{display:flex;gap:24px;height:100%;align-items:center}.dev-tabs-labels button{border:0;background:none;padding:0;height:100%;font-size:16px;font-weight:600;color:var(--muted);position:relative}.dev-tabs-labels .active{color:var(--ink)}.dev-tabs-labels .active:after{content:"";position:absolute;width:18px;height:3px;border-radius:3px;background:var(--green);bottom:9px;left:50%;transform:translateX(-50%)}.dev-child-selector{display:flex;align-items:center;gap:6px;padding:6px 10px 6px 6px;border:0;border-radius:50px;background:rgba(255,255,255,.4);box-shadow:0 4px 16px #0409110d;max-width:148px;height:40px}.dev-child-selector img{width:28px;height:28px;border-radius:50%;object-fit:cover}.dev-child-selector span:not(.dev-chevron){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dev-chevron{font-family:Arial,sans-serif;font-size:22px;font-weight:400;line-height:20px;opacity:.4;flex-shrink:0}.dev-hero{height:156px;display:flex;position:relative;align-items:center;margin-bottom:4px}.dev-boy{width:130px;height:155px;overflow:hidden;position:relative;flex:none}.dev-boy img{position:absolute;width:192px;height:auto;max-width:none;left:-31px;top:-12px}.dev-hero-copy{position:relative;padding-left:10px;padding-bottom:6px;flex:1}.dev-eyebrow{font-size:var(--ui-meta);line-height:18px;color:var(--muted);display:block;margin-bottom:4px;letter-spacing:.3px}.dev-hero-copy h2{font-size:21px;line-height:29px;letter-spacing:.3px}.dev-hero-actions{display:flex;gap:5px;margin-top:9px}.dev-hero-actions .icon-btn{position:relative;width:32px;height:32px;min-height:32px;background:rgba(255,255,255,.4);border:1px solid #ffffff90;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:5px}.dev-count{position:absolute;top:-3px;right:-3px;border:1.5px solid #eef5e9;border-radius:10px;background:#80b97d;color:white;font-size:10px;line-height:14px;min-width:15px;text-align:center;font-style:normal}.dev-device-strip{padding:9px 14px 9px 10px;width:100%;display:flex;align-items:center;gap:10px;text-align:left;min-height:72px;border-radius:20px!important}.dev-hardware{width:45px;height:49px;background:#ffffff80;border-radius:14px;display:flex;align-items:center;justify-content:center;flex:none}.dev-hardware img{height:39px;max-width:35px;object-fit:contain}.dev-device-copy{flex:1;min-width:0}.dev-device-copy strong{font-size:14px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dev-device-copy small{display:flex;align-items:center;gap:6px;font-size:var(--ui-meta);color:var(--muted);margin-top:3px}.dev-online{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block}.dev-online.offline{background:#a4abb2}.dev-warning{color:var(--ui-warning)!important}.dev-location{display:flex;position:relative;overflow:hidden;min-height:171px;margin-top:12px}.dev-location-copy{padding:17px 0 14px 16px;width:52%;position:relative;z-index:2;flex-shrink:0}.dev-location-title{display:block;text-align:left;background:none;border:0;padding:0;color:inherit}.dev-location-title strong{display:block;font-size:16px;font-weight:600}.dev-location-title>span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.dev-location-status{display:flex;align-items:center;margin-top:13px;gap:2px;font-size:var(--ui-meta);color:var(--muted)}.dev-refresh{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:0;background:none;padding:4px;flex:none}.dev-location-copy>small{display:block;color:var(--muted);font-size:var(--ui-meta);line-height:16px}.dev-place{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:7px}.dev-map-link{padding:0;border:0;background:none;position:absolute;inset:0 0 0 46%;overflow:hidden;display:block}.dev-map{position:relative;width:100%;height:100%;min-height:171px;background:radial-gradient(ellipse at 60% 50%,#e7f3e6 5%,#dceadf77 50%,#eef6e500 80%);overflow:hidden}.dev-map-image{width:120%;max-width:none;height:110%;object-fit:contain;position:absolute;left:-5%;top:-5%}.dev-map-marker{position:absolute;left:58%;top:44%;width:30px;height:30px;background:white;border:3px solid #7dbb77;box-shadow:0 4px 12px #295f2928;border-radius:50% 50% 50% 5px;transform:rotate(-45deg);display:flex;align-items:center;justify-content:center;font-size:var(--ui-meta);font-weight:600;color:var(--sage-ink);z-index:3}.dev-map-marker::first-letter{transform:rotate(45deg)}.dev-map-marker:after{content:"";position:absolute;inset:-11px;border:1px solid #7dbb7750;border-radius:50%;animation:dev-breathe 3s ease-out infinite;z-index:-1}.dev-map-caption{position:absolute;bottom:7px;right:9px;font-size:var(--ui-meta);line-height:16px;letter-spacing:.5px;color:var(--muted);background:#ffffff60;padding:1px 4px;border-radius:5px;z-index:3}.dev-functions{margin-top:12px;overflow:hidden}.dev-function-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 4px}.dev-function{display:grid;grid-template-columns:32px 1fr;gap:0 7px;text-align:left;padding:12px 8px;border:0;background:none;align-items:center;color:inherit;min-width:0}.dev-function-icon{grid-row:1/3;width:31px;height:34px;display:flex;align-items:center;justify-content:center}.dev-function strong{font-size:13px;font-weight:500;line-height:20px}.dev-function small{font-size:var(--ui-meta);line-height:16px;opacity:.4;white-space:nowrap}.dev-service-manage{padding:8px 14px;background:rgba(255,255,255,.25);border:0;border-top:1px solid #ffffffb0;width:100%;text-align:center;font-size:var(--ui-meta)!important;line-height:19px!important;color:var(--muted);display:flex;justify-content:center;gap:8px}.dev-class-card,.dev-activity-card{margin-top:12px;padding:15px 16px 12px}.dev-card-head{display:flex;align-items:center;gap:8px;min-height:29px}.dev-card-head h3{flex:1}.dev-tinted-icon{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;background:#6bb66712;border-radius:10px;color:var(--muted);flex-shrink:0}.dev-tinted-icon.peach{background:#e6bc8b22}.dev-tinted-icon.danger{background:#e79a9422;color:var(--ui-danger)}.dev-switch{display:inline-flex;width:42px;height:25px;flex-shrink:0;align-items:center;padding:3px!important;border:0;border-radius:40px;background:#b9c1bf;transition:background .23s;position:relative;min-height:25px!important}.dev-switch span{width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 3px #00000015;transform:translateX(0);transition:transform .25s cubic-bezier(.2,.8,.2,1)}.dev-switch.is-on{background:var(--green)}.dev-switch.is-on span{transform:translateX(17px)}.dev-switch:disabled{opacity:.55}.dev-class-time{margin:8px 0 5px 39px!important;font-size:12px;line-height:20px;color:var(--muted)}.dev-class-foot{display:flex;align-items:center;gap:4px;justify-content:space-between;padding-left:39px;font-size:var(--ui-meta);line-height:17px;color:var(--muted)}.dev-sync{color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:4px}.dev-sync.pending{color:var(--ui-warning)}.dev-sync.failed{color:var(--ui-danger)}.dev-class-footer{display:flex;justify-content:space-between;min-height:22px;padding-left:39px;margin-top:3px}.dev-text-btn{border:0;background:none;padding:3px 0;color:var(--green);font-size:12px!important;line-height:20px;display:inline-flex;align-items:center;gap:2px}.dev-text-btn .dev-chevron{font-size:17px;opacity:.7}.dev-stats{display:flex;align-items:center;justify-content:space-around;margin:16px 0 2px;gap:12px}.dev-stats>div{flex:1;padding-left:9px;min-width:0}.dev-stats>span{width:1px;height:30px;background:#0208120a}.dev-stats small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-stats strong{font-size:26px;line-height:35px;font-weight:600;letter-spacing:-.6px;white-space:nowrap}.dev-stats em{font-style:normal;font-size:var(--ui-meta);font-weight:400;letter-spacing:0;color:var(--muted)}.dev-reminder{display:flex;gap:10px;width:100%;padding:13px 16px;margin-top:12px;align-items:center;text-align:left;color:inherit}.dev-reminder>span:nth-child(2){flex:1}.dev-reminder strong{display:block;font-size:13px;font-weight:500}.dev-reminder small{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:1px}.dev-footnote{text-align:center;margin-top:15px!important;font-size:var(--ui-meta);color:var(--muted)}.dev-detail .page-header{margin-left:-16px;margin-right:-16px}.dev-content{padding-top:10px}.dev-map-card{padding:10px;overflow:hidden}.dev-map.is-large{height:260px;border-radius:15px;background:#ecf2e9}.dev-map.is-large .dev-map-image{width:100%;height:100%;left:0;top:0;object-fit:cover;opacity:.88}.dev-map.is-large .dev-map-marker{left:70%;top:24%;width:34px;height:34px}.dev-map-address{display:flex;align-items:center;gap:10px;padding:18px 3px 13px}.dev-map-address h3{font-size:14px}.dev-map-address p{font-size:12px;color:var(--muted);margin-top:3px}.dev-info-line{display:flex;justify-content:space-between;align-items:center;padding:10px 4px;border-top:1px solid #02081206;font-size:12px}.dev-info-line>span{color:var(--muted)}.dev-info-line strong{font-size:12px;font-weight:500}.dev-hint{color:var(--muted);font-size:var(--ui-meta);line-height:19px;margin:14px 5px 16px!important}.dev-wide{width:100%;margin-top:12px;justify-content:center;gap:6px}.dev-segment{display:flex;padding:4px;border-radius:40px;background:#ffffff70;gap:4px;margin:4px auto 18px;width:200px}.dev-segment button{flex:1;background:none;border:0;min-height:33px;color:var(--muted);border-radius:30px;font-size:13px;transition:background .2s,box-shadow .2s}.dev-segment button.active{background:white;color:var(--green);box-shadow:0 2px 9px #04091108}.dev-route-line{position:absolute;inset:0;width:100%;height:100%;z-index:2}.dev-route-line path{fill:none;stroke:#6bb667;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:9 7;animation:dev-route-dash 16s linear infinite}.dev-map-start{position:absolute;left:13%;bottom:9%;background:white;border:2px solid #a5c9df;z-index:3;width:25px;height:25px;line-height:21px;border-radius:50%;font-size:var(--ui-meta);text-align:center}.dev-route-summary{padding:16px 4px 7px}.dev-route-summary strong{display:block;font-size:15px;font-weight:500}.dev-route-summary span{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:4px}.dev-timeline{padding:20px 16px;margin-top:14px}.dev-timeline-item{display:flex;gap:12px;min-height:79px;position:relative;animation:dev-fade-up .45s both;animation-delay:calc(var(--order)*60ms)}.dev-timeline-item:last-child{min-height:48px}.dev-timeline-item time{width:36px;font-size:var(--ui-meta);color:var(--muted);padding-top:1px;flex-shrink:0}.dev-timeline-dot{width:9px;height:9px;flex-shrink:0;background:#85bf80;border:2px solid white;box-shadow:0 0 0 1px #85bf8060;border-radius:50%;margin-top:6px}.dev-timeline-item:not(:last-child):after{content:"";position:absolute;left:52px;top:20px;bottom:1px;width:1px;background:#6bb66730}.dev-timeline-item strong{font-size:13px;font-weight:500;display:block}.dev-timeline-item small{display:block;font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin-top:3px}.dev-intro{padding:16px 9px 24px}.dev-intro h2{font-size:20px;line-height:29px}.dev-intro>p{font-size:12px;line-height:21px;color:var(--muted);margin-top:7px}.dev-large-icon{width:69px;height:69px;border-radius:24px;background:#ffffff75;display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--muted)}.dev-fence-card{padding:15px;margin-bottom:12px}.dev-fence-card>p{font-size:12px;color:var(--muted);margin:9px 0 12px 39px}.dev-fence-bottom{display:flex;align-items:center;justify-content:space-between;padding-left:39px}.dev-tag{display:inline-flex;background:#6bb66712;color:var(--muted);padding:2px 8px;border-radius:8px;font-size:var(--ui-meta);line-height:17px}.dev-setting-list{overflow:hidden}.dev-setting-row{display:flex;align-items:center;gap:10px;padding:17px 14px;min-height:72px;border-bottom:1px solid #ffffffbb}.dev-setting-row:last-child{border:0}.dev-setting-row>div{flex:1;min-width:0}.dev-setting-row strong{font-size:14px;font-weight:500;display:block}.dev-setting-row small{display:block;font-size:var(--ui-meta);line-height:17px;color:var(--muted);margin-top:3px}.dev-quiet{margin-top:14px;padding:18px}.dev-quiet strong{font-size:14px;font-weight:500}.dev-quiet p{color:var(--muted);font-size:12px;margin:7px 0 12px}.dev-find{padding:30px 20px;text-align:center;margin-top:18px;overflow:hidden}.dev-find-orb{height:190px;position:relative;display:flex;align-items:center;justify-content:center}.dev-find-orb img{height:101px;width:auto;max-width:83px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 12px 12px #47744320)}.dev-find-orb>span{position:absolute;width:150px;height:150px;border-radius:50%;border:1px solid #6bb66725;background:#6bb66706}.dev-find-orb>span:nth-child(2){width:115px;height:115px;background:#6bb66709}.dev-find-orb.is-ringing>span{animation:dev-ring 2.3s ease-out infinite}.dev-find-orb.is-ringing>span:nth-child(2){animation-delay:.6s}.dev-find-orb.is-ringing img{animation:dev-wiggle 1.4s ease-in-out infinite}.dev-find-orb.is-connecting>span{animation:dev-breathe 1.2s infinite}.dev-find h2{font-size:19px;line-height:28px}.dev-find>p{font-size:12px;color:var(--muted);line-height:21px;margin:12px 0 25px}.dev-find>.btn{width:100%}.dev-simulation{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin-top:20px}.dev-class-form{padding:17px}.dev-class-form>.dev-card-head{margin-bottom:15px}.dev-input-row{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-top:1px solid #02081206;font-size:13px}.dev-input-row input{font:inherit;font-size:16px;background:rgba(255,255,255,.5);border:1px solid white;border-radius:10px;padding:7px;color:var(--ink);min-width:105px}.dev-field-title{display:block;font-size:13px;font-weight:500;margin:18px 0 12px}.dev-weekdays{display:flex;gap:5px;justify-content:space-between}.dev-weekdays button{width:34px;height:34px;border-radius:50%;background:#ffffff77;color:var(--muted);border:1px solid #ffffff88;font-size:12px;transition:background .2s,color .2s}.dev-weekdays button.active{background:var(--green);color:white;border-color:#6bb667}.dev-sync-note{font-size:var(--ui-meta);color:var(--muted);display:flex;align-items:center;justify-content:center;gap:5px;margin:18px 0 7px}.dev-sync-note.pending{color:var(--ui-warning)}.dev-sync-note.failed{color:var(--ui-danger)}.dev-activity-detail{padding:20px 16px}.dev-date-label{text-align:center;color:var(--muted);font-size:12px}.dev-big-metric{display:flex;flex-direction:column;align-items:center;margin:16px 0 27px}.dev-big-metric strong{font-size:46px;line-height:56px;font-weight:600;letter-spacing:-1.5px}.dev-big-metric>span{font-size:var(--ui-meta);color:var(--muted)}.dev-bars{height:157px;display:flex;gap:8px;align-items:flex-end;padding:0 3px}.dev-bar-col{height:100%;flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:8px;min-width:0}.dev-bar-col>span{display:block;height:calc(var(--bar)*.78);width:100%;max-width:24px;background:linear-gradient(180deg,#7fc978,#a8d1a2);border-radius:7px 7px 3px 3px;animation:dev-grow .6s both;animation-delay:calc(var(--order)*30ms);transform-origin:bottom}.dev-bar-col small{font-size:var(--ui-meta);color:var(--muted);height:16px;white-space:nowrap}.dev-activity-detail .dev-stats{border-top:1px solid #02081208;padding-top:18px;margin-top:20px}.dev-activity-detail .dev-stats strong{font-size:24px}.dev-observation{margin-top:14px;padding:18px 15px;display:flex;gap:10px}.dev-observation h3{font-size:13px}.dev-observation p{font-size:12px;color:var(--muted);line-height:21px;margin-top:6px}.dev-alert-date{font-size:12px;color:var(--muted);padding:8px 10px 14px}.dev-alert-item{display:flex;width:100%;align-items:center;gap:12px;background:none;border:0;border-bottom:1px solid #ffffffbb;text-align:left;padding:18px 14px;color:inherit}.dev-alert-item:last-child{border:0}.dev-alert-copy{flex:1}.dev-alert-copy strong{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:500}.dev-alert-copy small{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:5px}.dev-unread{width:5px;height:5px;display:inline-block;background:var(--green);border-radius:50%}.dev-plain-row{width:100%;background:none;border:0;border-bottom:1px solid #ffffffbb;min-height:57px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:inherit;text-align:left;font-size:13px!important}.dev-plain-row:last-child{border:0}.dev-plain-row>.muted{display:flex;align-items:center;gap:10px;font-size:12px}.dev-device-profile{padding:24px 18px;text-align:center;margin-bottom:14px}.dev-device-profile>img{height:75px;width:auto;max-width:70px;object-fit:contain;margin-bottom:14px;filter:drop-shadow(0 7px 8px #47744315)}.dev-device-profile>p{color:var(--muted);font-size:var(--ui-meta);margin:5px 0 11px}.dev-section-label{font-size:13px!important;padding:24px 9px 12px}.dev-empty{margin-top:24px;padding:35px 22px;text-align:center}.dev-empty-art{display:flex;align-items:center;justify-content:center;width:130px;height:130px;margin:0 auto 24px;background:radial-gradient(circle,#c6e0bf50,#ffffff00 70%);border-radius:50%}.dev-empty-art img{height:110px;width:auto;max-width:80px;object-fit:contain;transform:rotate(8deg);filter:drop-shadow(0 10px 10px #4774431b)}.dev-empty h2{font-size:21px}.dev-empty p{font-size:12px;line-height:23px;color:var(--muted);margin:13px 0 26px}.dev-empty>.btn{width:100%;gap:7px}.dev-empty>.dev-text-btn{margin-top:16px}.dev-scan-frame{width:235px;height:235px;margin:15px auto 28px;position:relative;overflow:hidden;background:#ffffff55;border-radius:21px;box-shadow:0 10px 50px #70b46712}.dev-scan-frame>b{position:absolute;width:29px;height:29px;border-color:#6bb667;border-style:solid;border-width:0}.dev-scan-frame>.tl{top:0;left:0;border-top-width:4px;border-left-width:4px;border-radius:20px 0 0 0}.dev-scan-frame>.tr{top:0;right:0;border-top-width:4px;border-right-width:4px;border-radius:0 20px 0 0}.dev-scan-frame>.bl{bottom:0;left:0;border-bottom-width:4px;border-left-width:4px;border-radius:0 0 0 20px}.dev-scan-frame>.br{bottom:0;right:0;border-bottom-width:4px;border-right-width:4px;border-radius:0 0 20px 0}.dev-scan-line{position:absolute;top:0;left:4px;right:4px;height:40px;background:linear-gradient(0deg,#6bb66755,transparent);border-bottom:2px solid #6bb667;animation:dev-scan 2.8s ease-in-out infinite}.dev-qr-placeholder{position:absolute;inset:58px;opacity:.23;background:repeating-conic-gradient(#759770 0 25%,transparent 0 50%) 8px 8px/14px 14px}.dev-qr-placeholder span{position:absolute;width:35px;height:35px;border:7px solid #6b9165;background:#f4f8f1;box-shadow:0 0 0 4px #f4f8f1;top:0;left:0}.dev-qr-placeholder span:nth-child(2){left:auto;right:0}.dev-qr-placeholder span:nth-child(3){top:auto;bottom:0}.dev-scan-note{text-align:center;color:var(--muted);font-size:var(--ui-meta);margin-bottom:23px!important}.dev-bind-result{margin-top:25px;padding:38px 24px;text-align:center;min-height:360px}.dev-success-ring{width:76px;height:76px;margin:0 auto 25px;border-radius:50%;background:#6bb66713;color:var(--muted);display:flex;align-items:center;justify-content:center;animation:dev-pop .5s both}.dev-bind-result h2{font-size:22px}.dev-bind-result>p{font-size:12px;line-height:23px;color:var(--muted);margin:12px 0 22px}.dev-bind-result>small{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:18px}.dev-bind-device{height:105px;width:auto;max-width:75px;object-fit:contain;margin-top:24px}.dev-bind-child{display:flex;justify-content:space-between;align-items:center;background:#ffffff66;border:1px solid white;padding:13px 14px;border-radius:12px;font-size:13px;margin-bottom:16px}.dev-bind-child>span{color:var(--muted)}.dev-bind-child strong{font-weight:500}.dev-connect-loader{width:66px;height:66px;border:3px solid #6bb66720;border-top-color:#6bb667;border-radius:50%;margin:25px auto 36px;animation:dev-spin 1s linear infinite}.dev-spinner{display:inline-block;width:14px;height:14px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:dev-spin .8s linear infinite;flex:none}.is-spinning img{animation:dev-spin .9s linear infinite}.dev-modal-form{display:flex;flex-direction:column;gap:17px;font-size:13px;padding-top:4px}.dev-modal-form label{display:flex;flex-direction:column;gap:8px;color:var(--muted)}.dev-modal-form input,.dev-modal-form select{padding:12px 14px;font:inherit;color:var(--ink);border:1px solid #02081212;background:#ffffffb0;border-radius:12px;width:100%;outline:none;min-height:46px}.dev-modal-form input:focus,.dev-modal-form select:focus{border-color:#6bb667;box-shadow:0 0 0 3px #6bb66714}.dev-modal-form p{color:var(--muted);font-size:var(--ui-meta);line-height:19px;margin:0}.dev-modal-device{display:flex;gap:12px;align-items:center;width:100%;padding:14px;border:1px solid #6bb66740;border-radius:16px;background:#6bb66708;text-align:left}.dev-modal-device>div{flex:1}.dev-modal-device strong{display:block;font-size:14px;font-weight:500}.dev-modal-device small{display:block;color:var(--muted);font-size:var(--ui-meta);margin-top:4px}.dev-selected-check{color:var(--muted);font-size:18px}.dev-alert-time{display:block;font-size:var(--ui-meta);color:var(--muted)}.dev-alert-detail>p{font-size:14px;line-height:25px;color:var(--muted);margin:17px 0 20px}.dev-detail-address{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:20px}.dev-contact-list>div{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #02081208;font-size:13px}.dev-contact-list strong{font-weight:500}.dev-contact-list span{color:var(--muted)}.dev-contact-list>p{font-size:var(--ui-meta);color:var(--muted);margin:16px 0}.dev-service-options>label{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #02081208;font-size:14px}.dev-service-options input{width:20px;height:20px;accent-color:var(--green)}.dev-fence-area{position:absolute;width:150px;height:150px;border-radius:50%;background:#6bb66715;border:2px dashed #6bb66780;left:50%;top:20%;transform:translateX(-20%)}
@keyframes dev-spin{to{transform:rotate(360deg)}}@keyframes dev-breathe{0%,100%{opacity:.25;scale:.92}50%{opacity:.8;scale:1.1}}@keyframes dev-route-dash{to{stroke-dashoffset:-160}}@keyframes dev-ring{0%{transform:scale(.72);opacity:.9}100%{transform:scale(1.55);opacity:0}}@keyframes dev-wiggle{0%,100%{transform:rotate(0)}30%{transform:rotate(-5deg)}60%{transform:rotate(5deg)}}@keyframes dev-grow{from{transform:scaleY(.05);opacity:0}to{transform:scaleY(1);opacity:1}}@keyframes dev-fade-up{from{transform:translateY(9px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes dev-pop{from{transform:scale(.65);opacity:0}to{transform:scale(1);opacity:1}}@keyframes dev-scan{0%,100%{transform:translateY(5px);opacity:.3}50%{transform:translateY(182px);opacity:.9}}
@media(max-width:350px){.device-page{padding-left:12px;padding-right:12px}.dev-detail .page-header{margin-left:-12px;margin-right:-12px}.dev-hero-copy h2{font-size:19px;line-height:28px}.dev-boy{width:113px}.dev-function{padding-left:5px;padding-right:5px;gap:0 4px}.dev-function small{font-size:var(--ui-meta)}.dev-class-foot{padding-left:0}.dev-class-time{padding-left:0;margin-left:0!important}.dev-stats strong{font-size:23px}.dev-weekdays{gap:3px}.dev-weekdays button{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.device-page *,.dev-modal-form *{animation:none!important;transition:none!important}}
.dev-map-marker>span{display:inline-block;transform:rotate(45deg)}.dev-sos-banner{display:flex;align-items:center;gap:10px;padding:13px 14px;background:#fff4f0dd;border:1px solid #e6aaa033;border-radius:18px;width:100%;text-align:left;margin:0 0 12px;color:var(--ui-danger)}.dev-sos-banner>span:nth-child(2){flex:1}.dev-sos-banner strong{display:block;font-size:14px;font-weight:600}.dev-sos-banner small{display:block;font-size:var(--ui-meta);line-height:19px;opacity:.65}.dev-modal-device+.dev-modal-device{margin-top:10px}
/* v2：先连接孩子，再安静守护。 */
.device-connection-home{padding-bottom:24px}.dev-connect-hero{position:relative;display:flex;align-items:center;height:151px;margin-top:1px;overflow:hidden}.dev-connect-hero .dev-boy{width:125px;height:150px;flex-shrink:0}.dev-connect-hero .dev-boy img{left:-33px;top:-14px}.dev-connect-copy{padding:0 0 5px 8px;flex:1}.dev-connect-copy .dev-eyebrow{font-size:var(--ui-meta);letter-spacing:.1px;margin-bottom:8px;white-space:nowrap}.dev-connect-copy h2{font-size:25px;line-height:33px;letter-spacing:-.4px;font-weight:600}.dev-connect-status{display:flex;align-items:center;gap:5px;font-size:var(--ui-meta);color:var(--muted);margin-top:10px;line-height:17px}.dev-connect-status>i{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #6bb66712}.dev-connect-status.quiet{color:var(--ui-warning)}.dev-connect-status.quiet>i{background:#b2a28a;box-shadow:none}.dev-connect-settings{position:absolute;right:0;top:2px;display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:#ffffff60;border:1px solid #ffffff80;border-radius:50%;opacity:.65}.dev-connect-actions{padding:10px 10px 9px;margin-top:1px}.dev-connect-action-row{display:grid;grid-template-columns:1.55fr 1fr;gap:8px;min-width:0}.dev-primary-contact{background:linear-gradient(128deg,#7bc471,#64ad60);color:white;padding:13px 11px;border:1px solid #91d186;border-radius:18px;display:flex;gap:9px;align-items:center;text-align:left;box-shadow:0 5px 12px #6bb66720;min-height:77px}.dev-primary-contact>span:last-child{min-width:0}.dev-call-glyph{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#ffffff25;border-radius:50%;flex:none}.dev-call-glyph img{filter:brightness(0) invert(1);width:20px!important;height:20px!important}.dev-primary-contact strong{display:block;font-size:16px;font-weight:550;white-space:nowrap;line-height:24px}.dev-primary-contact small{font-size:var(--ui-meta);line-height:17px;opacity:.8;white-space:nowrap;display:block}.dev-secondary-contact{background:#ffffff90;border:1px solid white;border-radius:18px;padding:11px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:12px!important;color:var(--sage-ink)}.dev-message-glyph{height:26px;display:flex;align-items:center;justify-content:center}.dev-message-glyph img{opacity:.6}.dev-connect-actions>p{text-align:center;color:var(--muted);font-size:var(--ui-meta);line-height:17px;margin-top:8px;white-space:normal}.dev-letter{margin-top:12px;padding:13px 14px 0;overflow:hidden;position:relative}.dev-letter:before{content:'';position:absolute;inset:auto -20px -50px auto;width:130px;height:110px;background:radial-gradient(ellipse,#fbebdd80,transparent 65%);pointer-events:none}.dev-letter-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dev-letter-label{color:var(--muted);font-size:var(--ui-meta);letter-spacing:.5px}.dev-letter-new{background:#eef8e8;color:var(--muted);border:1px solid #d7ebcf80;font-size:var(--ui-meta);line-height:17px;padding:0 6px;border-radius:8px}.dev-letter-time{color:var(--muted);font-size:var(--ui-meta)}.dev-letter-body{display:flex;width:100%;align-items:flex-start;text-align:left;gap:9px;padding:0;background:none;color:inherit}.dev-letter-avatar{width:30px;height:30px;flex:none;border-radius:50%;overflow:hidden;margin-top:2px;background:#edf4e5}.dev-letter-avatar img{width:30px;height:30px;object-fit:cover}.dev-letter-copy{display:flex;flex-direction:column;flex:1;min-width:0}.dev-letter-copy strong{font-size:12px;line-height:20px;font-weight:500;margin-bottom:3px}.dev-letter-copy>span{font-size:13px;line-height:22px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dev-letter-copy small{font-size:var(--ui-meta);line-height:16px;color:var(--muted);margin-top:5px}.dev-letter-body>.dev-chevron{margin-top:11px;font-size:18px}.dev-letter-bottom{border-top:1px solid #ffffffb3;margin-top:11px;padding:7px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative}.dev-letter-bottom>span{font-size:var(--ui-meta);color:var(--muted)}.dev-letter-bottom .dev-text-btn{font-size:var(--ui-meta)!important}.dev-section-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 4px 0}.dev-section-heading h3{font-size:14px;font-weight:600}.dev-section-heading .dev-text-btn{font-size:var(--ui-meta)!important;color:var(--muted);gap:5px}.dev-section-heading i{font-style:normal;color:white;background:#a9bfa3;border-radius:8px;font-size:var(--ui-meta);min-width:13px;line-height:16px;text-align:center}.dev-location-compact{min-height:108px;margin-top:10px}.dev-location-compact .dev-location-copy{width:72%;padding:17px 0 12px 15px}.dev-location-compact .dev-location-title strong{font-size:13px}.dev-location-compact .dev-location-title>span{font-size:var(--ui-meta);line-height:17px;margin-top:4px}.dev-location-compact .dev-location-status{margin-top:3px;font-size:var(--ui-meta);line-height:16px}.dev-location-compact .dev-map-link{left:67%;inset-block:0}.dev-location-compact .dev-map{min-height:108px}.dev-location-compact .dev-map-caption{display:none}.dev-location-compact .dev-map-image{width:150%;height:130%;top:-10%;left:-20%}.dev-location-compact .dev-map-marker{width:23px;height:23px;border-width:2px;font-size:var(--ui-meta);left:42%;top:36%}.dev-connection-device{margin-top:15px;background:#ffffff30!important;box-shadow:none!important;min-height:64px}.dev-connection-device .dev-hardware{height:39px;width:35px}.dev-connection-device .dev-hardware img{height:32px}.dev-connection-device .dev-device-copy strong{font-size:12px}.dev-connection-device .dev-device-copy small{font-size:var(--ui-meta)}.dev-device-manage-label{font-size:var(--ui-meta);color:var(--muted)}.dev-call-page{height:100%;display:flex;flex-direction:column;position:relative;padding-bottom:16px;min-height:565px}.dev-call-page .page-header{margin-left:-16px;margin-right:-16px;flex-shrink:0}.dev-call-type{font-size:var(--ui-meta);color:var(--muted);white-space:nowrap;width:auto!important}.dev-call-scene{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:1;padding-top:22px;isolation:isolate}.dev-call-halo{position:absolute;width:230px;height:230px;border:1px solid #ffffff70;border-radius:50%;left:50%;top:-5px;transform:translateX(-50%);z-index:-1;background:#ffffff05}.dev-call-halo.halo-two{width:180px;height:180px;top:20px;background:#ffffff13}.dev-connection-avatar{position:relative;display:block;width:114px;height:130px;overflow:hidden}.dev-connection-avatar>img{position:absolute;left:-34px;top:-9px;width:184px;height:auto;max-width:none}.dev-call-avatar{width:120px;height:143px}.dev-call-avatar>img{width:199px;left:-38px;top:-11px}.dev-call-scene.calling .dev-call-halo{animation:dev-call-ring 3s ease-out infinite}.dev-call-scene.calling .halo-two{animation-delay:.9s}.dev-call-scene.connected .dev-call-halo{border-color:#6bb66730;background:#6bb66703}.dev-call-scene>h1{font-size:25px;line-height:32px;font-weight:550;margin:7px 0 3px;letter-spacing:.5px}.dev-call-device{font-size:var(--ui-meta);color:var(--muted)}.dev-call-state{text-align:center;min-height:120px;padding:25px 12px 5px}.dev-call-state h2{font-size:15px;line-height:24px;font-weight:500}.dev-call-state p{font-size:var(--ui-meta);color:var(--muted);line-height:21px;margin-top:7px}.dev-call-state>strong{display:block;font-size:29px;line-height:38px;letter-spacing:2px;color:var(--muted);font-weight:400;margin-top:11px;font-variant-numeric:tabular-nums}.dev-call-dots{display:flex;gap:5px;justify-content:center;margin:15px auto}.dev-call-dots i{width:5px;height:5px;background:var(--green);border-radius:50%;animation:dev-call-dot 1.2s infinite}.dev-call-dots i:nth-child(2){animation-delay:.15s}.dev-call-dots i:nth-child(3){animation-delay:.3s}.dev-call-wave{display:flex;height:29px;align-items:center;justify-content:center;gap:4px;margin:14px 0 0;color:var(--muted)}.dev-call-wave i{width:3px;height:calc(7px + var(--i)*1px);max-height:24px;border-radius:8px;background:currentColor;animation:dev-call-sound .75s ease-in-out infinite alternate;animation-delay:calc(var(--i)*-.11s)}.dev-call-bottom{padding:8px 15px 0;flex-shrink:0;text-align:center}.dev-call-utilities{display:flex;justify-content:center;gap:59px;margin-bottom:16px}.dev-call-utilities>button{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0}.dev-call-utilities small{font-size:var(--ui-meta);color:var(--muted)}.dev-call-control{position:relative;display:flex;align-items:center;justify-content:center;width:47px;height:47px;border-radius:50%;border:1px solid #ffffffb0;background:#ffffff65}.dev-call-control.selected{background:#6bb66720;border-color:#6bb66750}.dev-call-control img{opacity:.65}.dev-control-slash{position:absolute;height:27px;width:1.5px;left:22px;top:9px;background:#8b9d85;transform:rotate(40deg)}.dev-end-call{display:flex;flex-direction:column;align-items:center;gap:8px;margin:auto;background:none;border:0}.dev-end-call>span{display:flex;align-items:center;justify-content:center;background:#df8c82;box-shadow:0 7px 17px #c97f7026;width:61px;height:61px;border-radius:50%;border:1px solid #efb4aa}.dev-end-call img{filter:brightness(0) invert(1);transform:rotate(135deg)}.dev-end-call strong{font-size:var(--ui-meta);font-weight:400;color:var(--muted)}.dev-connection-disclaimer{font-size:var(--ui-meta)!important;line-height:16px!important;color:var(--muted)!important;margin:19px 0 2px!important;text-align:center}.dev-messages-page{height:100%;min-height:530px;display:flex;flex-direction:column;padding-bottom:0}.dev-messages-page .page-header{margin-left:-16px;margin-right:-16px;flex-shrink:0}.dev-message-destination{display:flex;align-items:center;justify-content:space-between;font-size:var(--ui-meta);line-height:19px;padding:2px 5px 10px;color:var(--muted);gap:8px;flex-shrink:0}.dev-message-destination>span{display:flex;align-items:center;gap:5px}.dev-message-destination small{color:var(--muted);font-size:var(--ui-meta)}.dev-message-wait-note{display:flex;align-items:center;gap:7px;border:1px solid #ffffffa0;border-radius:12px;background:#fff6e970;color:var(--ui-warning);font-size:var(--ui-meta);line-height:18px;padding:8px 10px;margin-bottom:10px;flex-shrink:0}.dev-message-wait-note img{opacity:.55;flex-shrink:0}.dev-message-context{position:relative;display:flex;flex-direction:column;background:#ffffff60;border:1px solid #ffffff90;padding:10px 32px 10px 12px;border-radius:14px;margin-bottom:11px;flex-shrink:0}.dev-message-context>span{font-size:var(--ui-meta);color:var(--muted);line-height:16px}.dev-message-context strong{font-size:12px;font-weight:400;line-height:20px;margin-top:2px}.dev-message-context button{position:absolute;right:12px;top:8px;font-size:21px;color:var(--muted)}.dev-message-thread{flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;min-height:130px;padding:11px 2px 18px;display:flex;flex-direction:column;gap:18px}.dev-message-thread::-webkit-scrollbar{display:none}.dev-message{display:flex;flex-direction:column;max-width:87%;align-self:flex-start;animation:dev-fade-up .3s both}.dev-message.from-parent{align-self:flex-end;align-items:flex-end}.dev-message-meta{font-size:var(--ui-meta);color:var(--muted);display:flex;align-items:center;gap:9px;margin:0 8px 6px}.dev-message-meta time{color:var(--muted)}.dev-message-bubble{padding:12px 14px;background:#ffffffcc;border:1px solid #ffffffe0;border-radius:18px 18px 18px 4px;min-width:130px;box-shadow:0 3px 10px #4a6d3e03}.from-parent .dev-message-bubble{background:#dcefd8bb;border-color:#d2e9cc;border-radius:18px 18px 4px 18px}.dev-message-bubble>p{font-size:13px;line-height:23px;white-space:pre-wrap;overflow-wrap:anywhere}.dev-voice-message{display:flex;gap:10px;align-items:center;background:none;border:0;color:var(--muted);min-height:27px;width:100%;padding:0;margin-bottom:8px;font-size:12px!important}.dev-voice-play{font-size:var(--ui-meta);width:12px;text-align:center;flex-shrink:0}.dev-voice-bars{display:flex;align-items:center;gap:3px;height:24px;flex:1;min-width:80px}.dev-voice-bars i{width:2px;height:var(--h);border-radius:4px;background:#8cbb80;opacity:.85}.dev-voice-bars.playing i{animation:dev-call-sound .6s ease-in-out infinite alternate;animation-delay:calc(var(--i)*-.1s)}.dev-message-status{font-size:var(--ui-meta);color:var(--muted);line-height:18px;margin:4px 8px 0;display:flex;align-items:center;gap:5px}.dev-message-status .dev-spinner{width:10px;height:10px;border-width:1px}.dev-message-status>button{font-size:var(--ui-meta);border:0;background:none;color:var(--ui-danger);text-decoration:underline;text-underline-offset:3px;padding:2px}.dev-message[data-status="failed"] .dev-message-status{color:var(--ui-danger)}.dev-message[data-status="waitingOnline"] .dev-message-status,.dev-message[data-status="waitingClass"] .dev-message-status{color:var(--ui-warning)}.dev-message-call{align-self:center!important;max-width:100%;display:flex;flex-direction:row;gap:5px;align-items:center;background:#ffffff55;border-radius:20px;font-size:var(--ui-meta);color:var(--muted);padding:4px 11px}.dev-message-call img{opacity:.5}.dev-message-compose{flex-shrink:0;padding:10px 0 8px;border-top:1px solid #ffffff70;background:linear-gradient(0deg,#f2edeb88,transparent);position:relative}.dev-quick-notes{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:1px 1px 10px}.dev-quick-notes::-webkit-scrollbar{display:none}.dev-quick-notes button{border:1px solid #ffffffab;border-radius:20px;white-space:nowrap;background:#ffffff65;padding:5px 10px;font-size:var(--ui-meta);color:var(--green)}.dev-child-composer{display:flex;align-items:flex-end;gap:6px;background:#ffffffc4;border:1px solid white;border-radius:23px;padding:10px 10px 10px 7px;box-shadow:0 3px 14px #405a3404}.dev-child-composer textarea{width:100%;padding:4px 1px 4px;resize:none;font-size:13px;line-height:21px;min-height:48px;max-height:110px;border:0;outline:0;background:none;flex:1;min-width:0}.dev-child-composer textarea::placeholder{color:var(--muted)}.dev-compose-voice{height:38px;width:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.55}.dev-child-send{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--green);color:white;font-size:22px!important;line-height:24px;flex-shrink:0;border:1px solid #67ae60}.dev-message-compose-foot{display:flex;justify-content:space-between;align-items:center;padding:7px 7px 0;font-size:var(--ui-meta);color:var(--muted)}.dev-message-compose-foot>.dev-text-btn{font-size:var(--ui-meta)!important;line-height:16px;color:var(--green)}.dev-voice-note-preview{text-align:center;padding-top:8px}.dev-voice-orb{display:flex;align-items:center;justify-content:center;width:70px;height:70px;background:#6bb66715;border:1px solid #6bb66720;margin:0 auto 20px;border-radius:50%}.dev-voice-note-preview h3{font-size:16px;font-weight:500;line-height:25px}.dev-voice-note-preview>p{font-size:12px;line-height:22px;color:var(--muted);margin:14px 0}.dev-voice-note-preview .dev-call-wave{margin:15px 0 24px}.dev-voice-note-preview small{display:block;font-size:var(--ui-meta);line-height:17px;color:var(--muted);margin-top:15px}
@keyframes dev-call-ring{0%{transform:translateX(-50%) scale(.83);opacity:.8}100%{transform:translateX(-50%) scale(1.2);opacity:0}}@keyframes dev-call-dot{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-4px)}}@keyframes dev-call-sound{from{transform:scaleY(.45);opacity:.55}to{transform:scaleY(1.1);opacity:1}}
@media(max-width:350px){.dev-connect-copy h2{font-size:23px;line-height:31px}.dev-connect-hero .dev-boy{width:112px}.dev-connect-copy .dev-eyebrow{font-size:var(--ui-meta)}.dev-primary-contact{gap:6px;padding:12px 8px}.dev-primary-contact strong{font-size:15px}.dev-primary-contact small{font-size:var(--ui-meta)}.dev-call-glyph{width:28px;height:28px}.dev-secondary-contact{font-size:var(--ui-meta)!important}.dev-call-state h2{font-size:14px}.dev-call-page{min-height:535px}.dev-message-bubble{padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.dev-call-halo,.dev-call-dots i,.dev-call-wave i,.dev-voice-bars i,.dev-message{animation:none!important}}
.device-page .page-header h2{font-size:16px;line-height:24px}
/* 短窗口仍保持挂断与返回始终可见。 */
@media(max-height:750px), (min-width:701px) and (max-height:850px){
  .dev-call-page{height:100%;min-height:0;padding-bottom:8px}
  .dev-call-page .page-header{height:54px;padding-top:3px;padding-bottom:7px}
  .dev-call-page .page-header .icon-btn{width:38px;height:38px}
  .dev-call-scene{min-height:0;padding-top:3px;justify-content:center}
  .dev-call-avatar{width:92px;height:105px;flex-shrink:0}
  .dev-call-avatar>img{width:156px;left:-30px;top:-10px}
  .dev-call-halo{width:182px;height:182px;top:-8px}
  .dev-call-halo.halo-two{width:142px;height:142px;top:12px}
  .dev-call-scene>h1{font-size:22px;line-height:28px;margin:3px 0 1px}
  .dev-call-device{font-size:var(--ui-meta);line-height:17px}
  .dev-call-state{min-height:0;padding:13px 7px 3px}
  .dev-call-state h2{font-size:14px;line-height:22px}
  .dev-call-state p{font-size:var(--ui-meta);line-height:18px;margin-top:5px}
  .dev-call-state>strong{font-size:25px;line-height:31px;margin-top:5px}
  .dev-call-state .dev-call-wave{height:18px;margin-top:6px}
  .dev-call-state .dev-call-wave i{max-height:17px}
  .dev-call-dots{margin:11px auto 5px}
  .dev-call-bottom{padding:5px 14px 0}
  .dev-call-utilities{gap:56px;margin-bottom:10px}
  .dev-call-utilities>button{gap:4px}
  .dev-call-control{width:37px;height:37px}
  .dev-control-slash{left:18px;top:7px;height:22px}
  .dev-call-utilities small{font-size:var(--ui-meta);line-height:16px}
  .dev-end-call{gap:5px}
  .dev-end-call>span{width:48px;height:48px}
  .dev-end-call strong{font-size:var(--ui-meta);line-height:17px}
  .dev-connection-disclaimer{font-size:var(--ui-meta)!important;line-height:16px!important;margin:10px 0 0!important}
  .dev-call-bottom>.btn{margin-top:6px;min-height:42px;padding-top:10px;padding-bottom:10px}
  .dev-call-bottom>.dev-text-btn{margin-top:8px}
  .device-connection-home .dev-tabs{height:56px}
  .device-connection-home .dev-connect-hero{height:122px}
  .device-connection-home .dev-connect-hero .dev-boy{height:124px;width:111px}
  .device-connection-home .dev-connect-hero .dev-boy img{width:171px;left:-29px;top:-14px}
  .device-connection-home .dev-connect-copy h2{font-size:23px;line-height:29px}
  .device-connection-home .dev-connect-copy .dev-eyebrow{margin-bottom:5px}
  .device-connection-home .dev-connect-status{margin-top:7px}
  .device-connection-home .dev-connect-actions{padding:9px 9px 7px}
  .device-connection-home .dev-primary-contact{min-height:68px;padding-top:10px;padding-bottom:10px}
  .device-connection-home .dev-connect-actions>p{margin-top:6px}
  .device-connection-home .dev-letter{margin-top:10px;padding-top:11px}
  .device-connection-home .dev-letter-heading{margin-bottom:7px}
  .device-connection-home .dev-letter-copy>span{font-size:13px;line-height:21px}
  .device-connection-home .dev-letter-bottom{margin-top:8px;padding:5px 0}
}

/* v3：消息与设备置顶，功能和采集信息平铺。 */
.dev-top-tools{display:flex;align-items:center;gap:8px;min-width:0}.dev-child-selector.dev-child-name{height:34px;padding:5px 10px;box-shadow:none;max-width:100px;font-size:13px}.dev-top-settings{border:1px solid #ffffffb0;background:#ffffff65;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}.device-flat-home .dev-tabs{height:61px}.device-flat-home .dev-top-message{margin-top:0;padding:10px 13px;min-height:62px;border-radius:17px}.dev-top-message .dev-reminder-copy{flex:1;min-width:0}.dev-top-message strong{display:flex;align-items:center;gap:8px;font-size:13px}.dev-top-message strong i{font-size:var(--ui-meta);font-style:normal;font-weight:400;padding:0 6px;line-height:18px;border-radius:10px;background:#ecf3e5;color:var(--muted)}.dev-top-message strong i.is-read{color:var(--muted);background:#f0f1ec}.dev-top-message small{font-size:var(--ui-meta);line-height:17px}.device-flat-home .dev-top-device{margin-top:9px;min-height:58px;padding:7px 13px 7px 10px;border-radius:17px!important;background:#ffffff70!important}.device-flat-home .dev-top-device .dev-hardware{width:33px;height:35px;border-radius:10px}.device-flat-home .dev-top-device .dev-hardware img{height:29px}.device-flat-home .dev-top-device .dev-device-copy strong{font-size:12px;line-height:19px}.device-flat-home .dev-top-device .dev-device-copy small{font-size:var(--ui-meta);line-height:17px;margin-top:1px}.device-flat-home .dev-contact-bar{width:100%;min-height:61px;margin-top:10px;padding:10px 15px;border-radius:17px;gap:12px;box-shadow:none}.dev-contact-bar>span:nth-child(2){flex:1}.dev-contact-bar .dev-chevron{color:white;opacity:.8}.dev-contact-bar strong{font-size:15px;line-height:22px}.dev-contact-bar small{font-size:var(--ui-meta);line-height:17px}.dev-contact-bar .dev-call-glyph{width:34px;height:34px}.device-flat-home .dev-section-heading{padding:20px 3px 9px}.device-flat-home .dev-section-heading h3{font-size:15px}.device-flat-home .dev-section-heading .dev-text-btn{color:var(--green);font-size:var(--ui-meta)!important}.dev-metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dev-metric-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:12px 13px 10px;min-width:0;min-height:115px;border-radius:17px!important;color:var(--ink)}.dev-metric-label{display:flex;align-items:center;gap:6px;width:100%;font-size:12px;line-height:19px;color:var(--muted)}.dev-metric-label .dev-chevron{margin-left:auto;font-size:17px;color:var(--muted)}.dev-metric-glyph{width:20px;height:20px;flex:none;color:var(--muted)}.dev-metric-card>strong{font-family:Arial,sans-serif;font-size:26px;line-height:33px;letter-spacing:-.5px;font-weight:600;margin-top:6px;white-space:nowrap}.dev-metric-card em{font-family:inherit;font-size:var(--ui-meta);line-height:17px;font-style:normal;letter-spacing:0;color:var(--muted);margin-left:4px;font-weight:400}.dev-metric-card small{font-size:var(--ui-meta);line-height:16px;color:var(--muted);margin-top:2px}.dev-metric-time{font-size:var(--ui-meta);color:var(--muted);line-height:16px}.dev-data-note{font-size:var(--ui-meta);color:var(--muted);padding:7px 3px 0;line-height:16px}.dev-metrics-empty{text-align:center;padding:23px 15px;color:var(--muted)}.dev-metrics-empty strong{font-size:14px;font-weight:500}.dev-metrics-empty p{font-size:var(--ui-meta);line-height:21px;margin:6px 0}.dev-multi-class{margin-top:14px;padding:13px 14px 10px;border-radius:18px!important}.dev-multi-class .dev-card-head h3{font-size:14px}.dev-class-home-slots{padding:8px 1px 3px}.dev-class-home-slots p{display:flex;justify-content:space-between;gap:8px;line-height:23px;font-size:var(--ui-meta)}.dev-class-home-slots strong{font-weight:500;font-variant-numeric:tabular-nums;color:var(--sage-ink)}.dev-class-home-slots p>span,.dev-class-home-slots>small{font-size:var(--ui-meta);color:var(--muted)}.dev-multi-class .dev-class-footer{padding-top:6px}.dev-class-retry-note{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--ui-meta);color:var(--ui-warning);margin-top:4px}.dev-class-retry-note .dev-text-btn{font-size:var(--ui-meta)!important}.dev-sync.waiting,.dev-sync-note.waiting{color:var(--ui-warning)}.device-flat-home .dev-location{margin-top:0}.device-flat-home .dev-sos-banner{margin-bottom:9px}.dev-management-intro{font-size:12px;line-height:23px;color:var(--muted);margin:4px 3px 16px!important}.dev-metric-options{padding:1px 15px}.dev-metric-option{display:flex;align-items:center;gap:12px;padding:13px 0}.dev-metric-option+.dev-metric-option{border-top:1px solid #ffffffd9}.dev-metric-option>div{flex:1}.dev-metric-option strong{display:block;font-size:14px;font-weight:500;line-height:22px}.dev-metric-option small{display:block;color:var(--muted);font-size:var(--ui-meta);line-height:18px}.dev-form-actions{display:flex;gap:11px;margin-top:20px}.dev-form-actions>.btn{width:auto;flex:1;min-width:0;margin-top:0}.dev-metric-detail{padding:25px 20px;display:flex;flex-direction:column;align-items:center;text-align:center}.dev-metric-detail>.dev-tinted-icon{height:44px;width:44px;border-radius:14px;margin-bottom:14px}.dev-metric-detail .dev-metric-glyph{width:26px;height:26px}.dev-metric-detail-label{font-size:12px;color:var(--muted)}.dev-metric-detail>strong{font-size:42px;line-height:58px;font-weight:500;font-family:Arial,sans-serif}.dev-metric-detail>strong em{font-size:14px;margin-left:6px;font-style:normal;color:var(--muted)}.dev-metric-detail>small{font-size:var(--ui-meta);color:var(--muted);line-height:20px}.dev-metric-records{padding:0 17px}.dev-metric-records>div{display:flex;align-items:center;justify-content:space-between;padding:15px 0;gap:12px}.dev-metric-records>div+div{border-top:1px solid white}.dev-metric-records time{font-size:12px;color:var(--muted)}.dev-metric-records strong{font-size:14px;font-weight:500}.dev-no-record h2{font-size:17px}.dev-no-record p{font-size:12px;line-height:22px;color:var(--muted);margin:10px 0!important}.dev-class-global{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;gap:12px}.dev-class-global strong{display:block;font-size:14px;line-height:23px;font-weight:500}.dev-class-global small{display:block;font-size:var(--ui-meta);color:var(--muted);line-height:19px}.dev-class-slots{display:flex;flex-direction:column;gap:12px}.dev-detail .dev-section-heading{padding:22px 3px 10px}.dev-detail .dev-section-heading>span{font-size:var(--ui-meta);color:var(--muted)}.dev-class-slot{padding:14px 17px 9px}.dev-class-slot-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:var(--ui-meta)}.dev-slot-time{display:block;font-family:Arial,sans-serif;font-size:24px;line-height:34px;font-weight:500;color:var(--ink);margin:7px 0 2px}.dev-slot-time>span{font-size:17px;margin:0 8px;color:var(--muted)}.dev-class-slot>p{font-size:var(--ui-meta);color:var(--muted)}.dev-class-slot-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffffd9;margin-top:12px;padding-top:5px}.dev-class-slot-bottom>small{font-size:var(--ui-meta);color:var(--muted)}.dev-class-slot-bottom>div{display:flex;gap:18px}.dev-class-slot-bottom .dev-text-btn{font-size:var(--ui-meta)!important}.dev-class-slot-bottom .dev-delete{color:var(--ui-danger)}.dev-add-slot{margin-top:13px}.dev-slot-editor .dev-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.dev-slot-editor .dev-weekdays button{width:100%;max-width:38px}.dev-slot-editor .dev-input-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0}.dev-slot-editor input[type=time]{width:125px;font-variant-numeric:tabular-nums;background:#f7faf3;border:1px solid #e6eddf;border-radius:9px;padding:9px;font-size:16px;color:var(--green)}.dev-slot-editor .dev-field-title{display:block;margin:18px 0 12px;font-size:13px}.dev-slot-editor>p{font-size:var(--ui-meta);line-height:20px;color:var(--green);margin-top:12px}.dev-form-actions button:disabled,.dev-text-btn:disabled{opacity:.5;cursor:default}.dev-sync-note{font-size:var(--ui-meta);line-height:20px}.device-flat-home .dev-footnote{font-size:var(--ui-meta)}
@media(max-width:350px){.dev-top-tools{gap:4px}.dev-child-selector.dev-child-name{max-width:85px;padding:5px 8px}.dev-metrics-grid{gap:8px}.dev-metric-card{padding:11px;min-height:113px}.dev-metric-card>strong{font-size:24px}.dev-metric-card em{font-size:var(--ui-meta)}.dev-slot-time{font-size:22px}.dev-slot-editor .dev-weekdays{gap:4px}.dev-class-home-slots p{font-size:var(--ui-meta)}.dev-class-home-slots p>span{font-size:var(--ui-meta)}}

/* v4：逐应用时间管理，规则按孩子、设备、应用分别保存。 */
.dev-management-section>.dev-multi-class{margin-top:11px}.dev-apps-home-entry{display:flex;align-items:center;width:100%;gap:10px;padding:14px;border-radius:18px!important;text-align:left;color:var(--ink)}.dev-apps-home-entry>span:nth-child(2){flex:1}.dev-apps-home-entry strong{display:block;font-size:14px;font-weight:500;line-height:23px}.dev-apps-home-entry small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-app-device{min-height:62px;padding:9px 12px;border-radius:17px!important;margin:0 0 15px}.dev-app-device .dev-hardware{width:35px;height:37px;border-radius:11px}.dev-app-device .dev-hardware img{height:31px}.dev-app-device .dev-device-copy strong{font-size:13px;line-height:20px}.dev-app-device .dev-device-copy small{font-size:var(--ui-meta);line-height:18px;margin-top:1px}.dev-app-search{display:flex;align-items:center;gap:9px;background:#ffffff85;border:1px solid #ffffffd9;border-radius:14px;padding:9px 12px;margin:0 0 2px}.dev-app-search>.icon{opacity:.55}.dev-app-search input{font:inherit;font-size:12px;line-height:22px;color:var(--sage-ink);background:none;border:0;outline:0;min-width:0;width:100%}.dev-app-search input::placeholder{color:var(--muted)}.dev-app-group .dev-section-heading{padding:19px 3px 9px}.dev-app-group .dev-section-heading h3{font-size:13px;line-height:22px;font-weight:500;color:var(--muted)}.dev-app-list{padding:0 13px;border-radius:18px!important;overflow:hidden}.dev-app-row{position:relative}.dev-app-row+.dev-app-row{border-top:1px solid #ffffffeb}.dev-app-row-main{display:flex;align-items:center;gap:10px;width:100%;padding:12px 1px;text-align:left;background:none;border:0;color:inherit}.dev-app-row-copy{display:flex;flex-direction:column;flex:1;min-width:0}.dev-app-row-copy>strong{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:14px;line-height:23px;font-weight:500}.dev-app-row-copy>strong i{font-style:normal;font-weight:400;color:var(--muted);border:1px solid #dfead6;background:#f6faef;border-radius:7px;font-size:var(--ui-meta);line-height:16px;padding:0 5px;white-space:nowrap}.dev-app-row-copy>span{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted);overflow-wrap:anywhere}.dev-app-row-copy>small{font-size:var(--ui-meta);line-height:17px;color:var(--muted);display:block;margin-top:1px}.dev-app-row:has(.dev-app-row-retry) .dev-app-row-main{padding-right:42px}.dev-app-row-retry{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:var(--ui-meta)!important;min-height:35px;padding:4px 0 4px 7px!important}.dev-app-row:has(.dev-app-row-retry) .dev-chevron{display:none}.dev-app-scope-note{font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:16px 3px 0!important}.dev-app-base-note{font-size:var(--ui-meta);line-height:20px;padding:9px 12px;background:#edf5e6;border:1px solid #ffffffad;border-radius:12px;margin:-4px 0 13px!important;color:var(--muted)}.dev-rule-options{display:flex;gap:10px;margin:2px 0 17px}.dev-rule-options>button{position:relative;flex:1;min-width:0;min-height:45px;padding:10px 6px;border:1px solid #ffffffeb;border-radius:13px;background:#ffffff70;color:var(--green);font-size:13px;font-weight:500}.dev-rule-options>button.is-selected{border-color:#a4c793;background:#eaf4df;color:var(--green);box-shadow:0 2px 5px #5b8c4b08}.dev-rule-options>button.is-selected:after{content:'✓';font-size:var(--ui-meta);margin-left:6px}.dev-rule-mode{display:flex;padding:4px;background:#e9efdf8c;border:1px solid #ffffffb0;border-radius:13px;gap:3px}.dev-rule-mode>button{flex:1;min-width:0;border:0;border-radius:10px;background:none;padding:8px 5px;font-size:12px;line-height:21px;color:var(--green)}.dev-rule-mode>button.active{background:#ffffffdd;color:var(--green);box-shadow:0 2px 7px #56694e0c}.dev-app-mode-copy{font-size:var(--ui-meta);line-height:21px;color:var(--muted);margin:10px 3px 12px!important}.dev-app-slots{display:flex;flex-direction:column;gap:11px}.dev-app-slot{padding:12px 15px;border-radius:17px!important}.dev-app-slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:var(--ui-meta);line-height:21px}.dev-app-slot-head>div{display:flex;align-items:center;gap:15px}.dev-app-slot-head .dev-text-btn{font-size:var(--ui-meta)!important}.dev-app-slot-head .dev-delete{color:var(--ui-warning)}.dev-app-slot .dev-slot-time{font-size:24px;line-height:34px;margin:7px 0 2px}.dev-app-slot>p{font-size:var(--ui-meta);line-height:19px;color:var(--muted)}.dev-app-quota-summary{font-size:var(--ui-meta);line-height:20px;color:var(--muted);padding:8px 0 0;margin-top:9px;border-top:1px solid #ffffffed}.dev-app-quota-summary>strong{color:var(--muted);font-size:12px;font-weight:500}.dev-rule-section>.btn{margin-top:12px}.dev-app-time-help{font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin:11px 3px 0!important}.dev-app-no-limit{padding:25px 15px;text-align:center;border-radius:17px!important}.dev-app-no-limit>strong{display:block;font-size:13px;line-height:23px;color:var(--muted);font-weight:500}.dev-app-no-limit>p{font-size:var(--ui-meta);line-height:21px;color:var(--muted);margin-top:6px!important}.dev-app-save-status{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;margin-top:20px;color:var(--muted);font-size:var(--ui-meta);line-height:19px}.dev-app-save-status strong{font-weight:400}.dev-app-save-status>span{font-size:var(--ui-meta);color:var(--muted)}.dev-app-save-status.waiting,.dev-app-save-status.failed{color:var(--ui-warning)}.dev-app-save-status.pending{color:var(--muted)}.dev-app-time-page>.dev-form-actions{margin-top:12px}.dev-app-simulation-note{font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin:15px 3px 0!important;text-align:center}.dev-app-time-page button:disabled{opacity:.5;cursor:default}.dev-app-slot-editor .dev-app-quota-control{border-top:1px solid #e7eddf;margin-top:19px;padding-top:13px}.dev-app-quota-control>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.dev-app-quota-control strong{font-size:13px;font-weight:500;line-height:23px;color:var(--muted)}.dev-app-quota-control>p{font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:9px 0 0}.dev-app-slot-editor .dev-app-minutes-label{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:var(--ui-meta);line-height:22px;margin:13px 0 0;color:var(--green)}.dev-app-minutes-label>span:last-child{white-space:nowrap}.dev-app-slot-editor input[type=number]{width:62px;min-width:0;margin:0;padding:7px 8px;border:1px solid #dce8d0;border-radius:9px;background:#f7faf3;font-size:16px;text-align:center;color:var(--green);line-height:23px}.dev-app-slot-editor .dev-form-actions{margin-top:22px}.dev-app-group .dev-section-heading>span{font-size:var(--ui-meta)}.dev-app-slot-editor .dev-weekdays button{height:34px}.dev-app-slot-editor .dev-input-row{padding:9px 0}.dev-app-slot-editor .dev-field-title{margin-top:14px}
@media(max-width:350px){.dev-app-list{padding:0 11px}.dev-app-row-copy>strong{font-size:13px}.dev-app-row-copy>span{font-size:var(--ui-meta)}.dev-app-device .dev-device-copy small{font-size:var(--ui-meta)}.dev-app-slot{padding:11px 12px}.dev-app-slot .dev-slot-time{font-size:22px}.dev-app-slot-editor .dev-app-minutes-label{font-size:var(--ui-meta)}.dev-app-slot-editor input[type=number]{width:54px}.dev-app-quota-summary{font-size:var(--ui-meta)}}
.dev-slot-editor .dev-input-row{flex-direction:row}.dev-app-slot-editor .dev-app-minutes-label{flex-direction:row}.dev-modal-form.dev-app-slot-editor{gap:12px}

/* 设备页独立演示：一级页直接切换场景。 */
.dev-standalone-heading{height:61px}.dev-standalone-heading>h1{margin:0;font-size:22px;font-weight:600;line-height:30px;letter-spacing:.5px;color:var(--ink)}.dev-demo-entry{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:10px 12px;margin:0 0 12px;border:1px solid #b9d5a6;border-radius:14px;background:linear-gradient(115deg,#e1eed3e6,#f5f9e9db);color:var(--sage-ink);box-shadow:0 3px 8px #4e71400a;min-height:52px}.dev-demo-entry-symbol{height:27px;width:27px;border-radius:9px;background:#ffffffa6;border:1px solid #d2e3c4;display:flex;align-items:center;justify-content:center;flex:none}.dev-demo-entry-copy{display:flex;flex-direction:column;flex:1;min-width:0}.dev-demo-entry-copy>strong{font-size:12px;line-height:19px;font-weight:600}.dev-demo-entry-copy>small{font-size:var(--ui-meta);line-height:16px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dev-demo-entry-action{display:flex;align-items:center;gap:5px;font-size:var(--ui-meta);flex:none}.dev-demo-entry-action .dev-chevron{font-size:18px;color:var(--muted)}.dev-demo-current{padding:12px 3px 1px}.dev-demo-current>strong{display:block;font-size:12px;font-weight:500;color:var(--muted);line-height:21px}.dev-demo-current>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.dev-demo-current>div>span{display:inline-block;border-radius:9px;border:1px solid #e1ead8;background:#f6faefba;color:var(--muted);font-size:var(--ui-meta);line-height:19px;padding:0 7px}.dev-demo-states-page>.dev-section-label{margin:20px 3px 8px;font-size:12px;font-weight:500;line-height:21px;color:var(--muted)}.dev-demo-setting{gap:14px;padding-top:12px;padding-bottom:12px}.dev-demo-setting>div{min-width:0}.dev-demo-setting strong{font-size:12px!important;line-height:22px!important}.dev-demo-setting small{font-size:var(--ui-meta)!important;line-height:18px!important}.dev-demo-sos-panel{padding:14px 16px;border-radius:17px!important}.dev-demo-sos-panel>div:first-child{display:flex;gap:10px;align-items:center}.dev-demo-sos-panel strong{display:block;font-size:12px;font-weight:500;line-height:22px}.dev-demo-sos-panel small{display:block;font-size:var(--ui-meta);color:var(--muted);line-height:18px}.dev-demo-sos-actions{display:flex;align-items:center;gap:16px;margin-top:12px}.dev-demo-sos-actions>.btn{flex:1;width:auto;min-height:39px;font-size:12px;padding:9px 10px;margin-top:0}.dev-demo-sos-actions>.dev-text-btn{font-size:var(--ui-meta)!important}.dev-settings-demo-link{display:flex;width:100%;margin-top:16px;text-align:left;padding:13px 16px}.dev-demo-return{margin-top:17px}.dev-demo-states-page>.dev-hint{text-align:left;font-size:var(--ui-meta);line-height:19px;margin:15px 3px 0}
@media(max-width:350px){.dev-demo-entry{gap:7px;padding:9px 10px}.dev-demo-entry-copy>small{font-size:var(--ui-meta)}.dev-demo-entry-action{font-size:var(--ui-meta)}.dev-demo-setting{gap:10px}.dev-demo-setting strong{font-size:var(--ui-meta)!important}.dev-demo-setting small{font-size:var(--ui-meta)!important}}

/* 快速演示面板独立压缩：覆盖旧设置行最小高度及标题的累计内外边距。 */
.dev-detail:has(> .dev-content > .dev-demo-states-page)>.page-header{height:52px;padding-top:3px;padding-bottom:8px}.dev-detail:has(> .dev-content > .dev-demo-states-page)>.page-header .icon-btn{width:36px;height:36px}.dev-detail:has(> .dev-content > .dev-demo-states-page)>.dev-content{padding-top:0}.dev-demo-states-page .dev-demo-current{padding:0 3px}.dev-demo-states-page .dev-demo-current>strong{font-size:var(--ui-meta);line-height:19px}.dev-demo-states-page .dev-demo-current>div{margin-top:5px;gap:4px}.dev-demo-states-page .dev-demo-current>div>span{font-size:var(--ui-meta);line-height:17px;padding:0 6px}.dev-demo-states-page>.dev-section-label{padding:0;margin:12px 3px 6px;font-size:var(--ui-meta)!important;line-height:18px}.dev-demo-states-page .dev-setting-list{border-radius:16px}.dev-demo-states-page .dev-demo-setting{min-height:52px;padding:7px 13px;gap:10px}.dev-demo-states-page .dev-demo-setting strong{font-size:12px!important;line-height:18px!important}.dev-demo-states-page .dev-demo-setting small{font-size:var(--ui-meta)!important;line-height:16px!important;margin-top:2px}.dev-demo-states-page .dev-demo-sos-panel{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;min-height:62px}.dev-demo-states-page .dev-demo-sos-panel>div:first-child{flex:1;min-width:0;gap:8px}.dev-demo-states-page .dev-demo-sos-panel .dev-tinted-icon{width:28px;height:28px}.dev-demo-states-page .dev-demo-sos-panel strong{font-size:var(--ui-meta);line-height:19px}.dev-demo-states-page .dev-demo-sos-panel small{font-size:var(--ui-meta);line-height:16px}.dev-demo-states-page .dev-demo-sos-actions{margin:0;flex:none;flex-direction:column;gap:3px}.dev-demo-states-page .dev-demo-sos-actions>.btn{min-height:32px;padding:6px 10px;font-size:var(--ui-meta);line-height:18px;min-width:82px}.dev-demo-states-page .dev-demo-sos-actions>.dev-text-btn{font-size:var(--ui-meta)!important;line-height:18px;padding:2px}.dev-demo-states-page>.dev-hint{margin:10px 3px 0!important;font-size:var(--ui-meta);line-height:17px}.dev-demo-states-page>.dev-demo-return{margin-top:10px;min-height:40px;padding:9px 12px;font-size:12px}
@media(max-width:350px){.dev-demo-states-page .dev-demo-setting{padding-left:11px;padding-right:11px}.dev-demo-states-page .dev-demo-setting strong{font-size:var(--ui-meta)!important}.dev-demo-states-page .dev-demo-setting small{font-size:var(--ui-meta)!important;line-height:16px!important}.dev-demo-states-page .dev-demo-sos-panel{padding-left:10px;padding-right:10px;gap:7px}.dev-demo-states-page .dev-demo-sos-panel>div:first-child{gap:6px}.dev-demo-states-page .dev-demo-sos-actions>.btn{padding-left:8px;padding-right:8px;min-width:76px}}

/* 课程表：灵扣拍照识别 → 家长核对 → 确认发送 → 硬件已生效版。 */
.dev-function[data-page="deviceTimetable"]{grid-column:1/-1;border-top:1px solid #ffffffa8;margin:0 8px;padding-left:8px;padding-right:8px}.dev-function[data-page="deviceTimetable"] small{font-size:var(--ui-meta)}.dev-timetable-applied-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-radius:17px!important}.dev-timetable-applied-summary>div{min-width:0;flex:1}.dev-timetable-applied-summary span{font-size:var(--ui-meta);color:var(--muted);line-height:18px;display:block}.dev-timetable-applied-summary strong{display:block;font-size:15px;line-height:25px;font-weight:500;color:var(--sage-ink)}.dev-timetable-applied-summary small{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted)}.dev-timetable-applied-summary>.dev-text-btn{flex:none;font-size:var(--ui-meta)!important;display:flex;align-items:center;gap:5px}.dev-timetable-intro{padding:22px 19px;text-align:center;margin-top:14px;border-radius:17px!important}.dev-timetable-intro>.dev-tinted-icon{height:44px;width:44px;margin:0 auto 12px;border-radius:14px}.dev-timetable-intro h3{font-size:15px;line-height:24px;font-weight:500}.dev-timetable-intro p{font-size:var(--ui-meta);color:var(--muted);line-height:22px;margin:8px 0 0!important}.dev-timetable-review{padding:15px 16px;margin-top:14px;border-radius:17px!important}.dev-timetable-tag{display:inline-block;border:1px solid #e2e9d6;background:#eef6e4;color:var(--muted);border-radius:8px;padding:1px 7px;font-size:var(--ui-meta);line-height:18px;margin-bottom:9px}.dev-timetable-review h3{font-size:15px;line-height:25px;font-weight:500;color:var(--sage-ink)}.dev-timetable-review p{font-size:var(--ui-meta);color:var(--muted);line-height:21px;margin:3px 0 2px!important}.dev-timetable-review>small{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted)}.dev-timetable-review-actions{display:flex;gap:10px;margin-top:14px}.dev-timetable-review-actions>.btn{flex:1;min-width:0;width:auto;font-size:12px;min-height:40px;padding:9px 10px;line-height:21px}.dev-timetable-recognizing{padding:20px 15px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;text-align:center;margin-top:14px;border-radius:17px!important;color:var(--muted)}.dev-timetable-recognizing strong{font-size:12px;font-weight:500}.dev-timetable-recognizing span{flex-basis:100%;font-size:var(--ui-meta);color:var(--muted);line-height:18px}.dev-timetable-recognition-error{border-radius:13px;background:#fff3e4b3;border:1px solid #f2e5cf;color:var(--ui-warning);padding:10px 12px;font-size:var(--ui-meta);line-height:21px;margin-top:13px}.dev-timetable-send-status{display:flex;flex-direction:column;gap:3px;padding:10px 13px;margin-top:12px;border:1px solid #e1e9d5;border-radius:13px;background:#f6faefd9;color:var(--muted)}.dev-timetable-send-status strong{font-size:12px;font-weight:500;line-height:20px}.dev-timetable-send-status>span{font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-timetable-send-status .dev-text-btn{font-size:var(--ui-meta)!important;text-align:left;align-self:flex-start;line-height:22px;padding:2px 0;margin-top:4px}.dev-timetable-send-status.waiting,.dev-timetable-send-status.failed{background:#fff5e8bd;border-color:#eedec6;color:var(--ui-warning)}.dev-timetable-send-status.waiting>span,.dev-timetable-send-status.failed>span{color:var(--ui-warning)}.dev-timetable-note{font-size:var(--ui-meta)!important;line-height:19px!important;color:var(--muted);margin:12px 3px 0!important}.dev-timetable-demo{margin-top:20px;padding:10px 12px;background:#ffffff52;border:1px solid #ffffff9c;border-radius:13px}.dev-timetable-demo>summary{font-size:var(--ui-meta);line-height:21px;color:var(--muted);cursor:pointer}.dev-timetable-demo>p{font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:9px 0 7px!important}.dev-timetable-demo-options{display:flex;gap:6px;flex-wrap:wrap}.dev-timetable-demo-options>button{flex:1;min-width:73px;font-size:var(--ui-meta);line-height:19px;border:1px solid #e0e7d8;border-radius:10px;padding:5px;background:#ffffff66;color:var(--green)}.dev-timetable-demo-options>button.active{background:#e5f0d9;border-color:#bad4a9;color:var(--green)}.dev-timetable-failure{display:flex;align-items:center;justify-content:space-between;margin:12px 0 7px;font-size:var(--ui-meta);color:var(--muted);gap:10px}.dev-timetable-demo>small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-timetable-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:5px;background:#ffffff70;border:1px solid #ffffffd4;border-radius:13px;margin:13px 0}.dev-timetable-week>button{height:33px;line-height:21px;border-radius:9px;color:var(--green);font-size:var(--ui-meta);white-space:nowrap;min-width:0}.dev-timetable-week>button.active{background:#e2efd4;color:var(--green);font-weight:500}.dev-timetable-edit-note{font-size:var(--ui-meta);line-height:19px;color:var(--green);margin:1px 3px 0!important}.dev-timetable-edit-list{display:flex;flex-direction:column;gap:11px}.dev-timetable-edit-row{padding:12px 13px;border-radius:16px!important}.dev-timetable-edit-line{display:flex;align-items:flex-end;gap:10px}.dev-timetable-edit-line label{display:flex;flex-direction:column;gap:5px;min-width:0}.dev-timetable-edit-line label:first-child{width:78px;flex:none}.dev-timetable-edit-line label:nth-child(2){flex:1}.dev-timetable-edit-row label>span{font-size:var(--ui-meta);line-height:18px;color:var(--green)}.dev-timetable-edit-row select,.dev-timetable-edit-row input{border:1px solid #e2eada;background:#fbfdf8c9;border-radius:9px;padding:7px 9px;font-size:13px;line-height:22px;color:var(--green);max-width:100%;width:100%;min-height:36px}.dev-timetable-edit-line input[type="time"]{font-size:13px;width:100%;min-width:0}.dev-timetable-edit-line>.dev-delete{font-size:var(--ui-meta)!important;min-height:36px;padding:7px 0;color:var(--ui-warning);flex:none}.dev-timetable-name{display:flex;flex-direction:column;gap:5px;margin-top:10px}.dev-timetable-name input::placeholder{color:var(--muted)}.dev-timetable-edit>.dev-form-actions{margin-top:15px}.dev-timetable-edit>.dev-form-actions .btn{font-size:12px;padding-left:8px;padding-right:8px}.dev-timetable-empty{padding:25px 15px;text-align:center;font-size:12px;color:var(--muted);border-radius:16px!important}.dev-timetable-confirm-intro{padding:14px 15px;border-radius:16px!important;margin-bottom:17px}.dev-timetable-confirm-intro strong{display:block;font-size:15px;font-weight:500;color:var(--sage-ink);line-height:24px}.dev-timetable-confirm-intro p{font-size:var(--ui-meta);line-height:21px;color:var(--muted);margin-top:5px!important}.dev-timetable-confirm-intro small{font-size:var(--ui-meta);line-height:19px;color:var(--muted);display:block}.dev-timetable-preview-day{margin-top:14px}.dev-timetable-preview-day>h3{font-size:12px;line-height:21px;font-weight:500;color:var(--muted);margin:0 3px 7px}.dev-timetable-lessons{padding:0 14px;border-radius:16px!important}.dev-timetable-lessons>div{display:flex;align-items:center;gap:18px;padding:13px 0;min-height:47px}.dev-timetable-lessons>div+div{border-top:1px solid #fffffff0}.dev-timetable-lessons time{font-size:13px;line-height:21px;color:var(--muted);min-width:43px;font-variant-numeric:tabular-nums}.dev-timetable-lessons strong{font-size:13px;line-height:21px;font-weight:500;color:var(--sage-ink);overflow-wrap:anywhere}.dev-timetable-applied-heading{padding:3px}.dev-timetable-applied-heading strong{display:block;font-size:15px;line-height:25px;color:var(--muted);font-weight:500}.dev-timetable-applied-heading small{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted)}
@media(max-width:350px){.dev-function[data-page="deviceTimetable"] small{font-size:var(--ui-meta)}.dev-timetable-edit-row{padding:11px}.dev-timetable-edit-line{gap:8px}.dev-timetable-edit-line label:first-child{width:65px}.dev-timetable-edit-row select,.dev-timetable-edit-row input{font-size:12px;padding:7px}.dev-timetable-edit-line input[type="time"]{font-size:12px}.dev-timetable-week{gap:2px;padding:4px}.dev-timetable-week>button{font-size:var(--ui-meta);height:32px}.dev-timetable-applied-summary{padding:12px}.dev-timetable-applied-summary strong{font-size:14px}.dev-timetable-review-actions{gap:8px}.dev-timetable-review-actions>.btn{font-size:var(--ui-meta)}}
.dev-timetable-photo-link{display:block;font-size:var(--ui-meta)!important;line-height:21px;margin-top:8px;text-align:left;color:var(--green)}.dev-timetable-photo-view>p{font-size:var(--ui-meta);line-height:19px;color:var(--muted);text-align:center;margin:0 0 12px}.dev-timetable-photo-paper{background:#fffef9;border:1px solid #e1e0d3;border-radius:8px;padding:15px 13px;box-shadow:0 5px 18px #2a3c2008}.dev-timetable-photo-paper>h3{font-size:15px;line-height:25px;text-align:center;color:var(--muted);margin:0 0 12px}.dev-timetable-photo-paper table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--ui-meta);line-height:20px;color:var(--muted)}.dev-timetable-photo-paper th,.dev-timetable-photo-paper td{border:1px solid #e7e7da;padding:5px 7px;text-align:center;overflow-wrap:anywhere}.dev-timetable-photo-paper th{font-weight:500;background:#f0f2e7;color:var(--muted)}.dev-timetable-photo-view>small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin-top:11px}.dev-timetable-send-status.unbound{background:#fff5e8bd;border-color:#eedec6;color:var(--ui-warning)}.dev-timetable-send-status.unbound>span{color:var(--ui-warning)}

/* Compressed transparent device image. Preserve the complete silhouette. */
.dev-empty-art{width:156px;height:156px}.dev-empty-art img{width:140px;height:140px;max-width:140px;border-radius:0;transform:none;object-fit:contain}
.dev-device-profile>img{width:86px;height:86px;max-width:86px;border-radius:0}
.dev-bind-device{width:112px;height:112px;max-width:112px;border-radius:0}
.dev-hardware img{width:35px;height:35px;max-width:35px;border-radius:0}
.dev-connection-device .dev-hardware img{height:32px;width:32px}.device-flat-home .dev-top-device .dev-hardware img{height:31px;width:31px}.dev-app-device .dev-hardware img{height:31px;width:31px}

/* Micro-chat message permissions, separate from application time rules. */
.dev-micro-page{display:flex;flex-direction:column;gap:12px;padding-bottom:15px}.dev-micro-page>.dev-app-device{margin-bottom:0}.dev-micro-intro{margin:0 2px!important;font-size:var(--ui-meta);line-height:21px;color:var(--muted)}.dev-micro-controls{padding:0 15px;border-radius:18px!important}.dev-micro-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;padding:11px 0}.dev-micro-row+.dev-micro-row{border-top:1px solid #fff}.dev-micro-row>div{min-width:0;flex:1}.dev-micro-row strong{display:block;font-size:13px;line-height:22px;color:var(--sage-ink);font-weight:500}.dev-micro-row small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-micro-row>.dev-switch{flex-shrink:0}.dev-micro-status{display:flex;align-items:center;flex-direction:column;gap:1px;text-align:center;color:var(--muted);font-size:var(--ui-meta);line-height:21px;padding:2px}.dev-micro-status>strong{font-weight:500}.dev-micro-status>span{font-size:var(--ui-meta);color:var(--muted)}.dev-micro-status .dev-text-btn{font-size:var(--ui-meta);line-height:20px;padding:3px 6px}.dev-micro-status.waiting,.dev-micro-status.unbound,.dev-micro-status.failed{color:var(--ui-warning)}.dev-micro-page>.dev-form-actions{margin:0;gap:10px}.dev-micro-page>.dev-form-actions>.btn{font-size:12px;min-height:42px;padding:9px 8px}.dev-micro-page button:disabled{opacity:.46;cursor:default}.dev-micro-actual{background:#edf3e5b3;border-radius:15px;padding:12px 15px;display:flex;flex-direction:column;gap:2px}.dev-micro-actual>span{font-size:var(--ui-meta);line-height:19px;color:var(--muted)}.dev-micro-actual>strong{font-size:12px;line-height:22px;font-weight:500;color:var(--muted);overflow-wrap:anywhere}.dev-micro-actual>small{font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-micro-demo{margin:1px 2px;font-size:var(--ui-meta);line-height:20px;color:var(--muted)}.dev-micro-demo>summary{cursor:pointer;min-height:30px;padding:4px 0;color:var(--muted)}.dev-micro-demo>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.dev-micro-demo>p{font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-micro-home-entry small{overflow-wrap:anywhere}@media(max-width:350px){.dev-micro-controls{padding:0 12px}.dev-micro-row{min-height:62px;gap:9px}.dev-micro-row strong{font-size:12px}.dev-micro-intro{font-size:var(--ui-meta);line-height:20px}}
.dev-micro-send-demo{padding:13px 14px;border-radius:17px!important}.dev-micro-send-demo>h3{font-size:13px;line-height:22px;color:var(--muted);font-weight:500}.dev-micro-send-demo>p{font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin-top:3px!important}.dev-micro-send-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0 8px}.dev-micro-send-types>button{border:1px solid #dbe7d0;border-radius:10px;min-height:37px;padding:7px 5px;background:#f6faef;color:var(--green);font-size:var(--ui-meta);line-height:21px}.dev-micro-send-demo>small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}.dev-micro-send-result{border-radius:9px;padding:9px 10px;font-size:var(--ui-meta);line-height:20px;background:#edf5e5;color:var(--muted)}.dev-micro-send-result.blocked,.dev-micro-send-result.unavailable{background:#f8f1e5;color:var(--ui-warning)}

/* 管理区排版：入口卡片留白、文字层级与窄屏伸缩。 */
.dev-management-section>.dev-apps-home-entry+.dev-apps-home-entry{margin-top:12px}
.dev-management-section>.dev-multi-class{margin-top:12px}
.dev-management-section>.dev-apps-home-entry{min-height:80px;padding:14px;gap:12px}
.dev-management-section>.dev-apps-home-entry>.dev-tinted-icon{width:34px;height:34px;border-radius:11px}
.dev-management-section>.dev-apps-home-entry>span:nth-child(2){min-width:0}
.dev-management-section>.dev-apps-home-entry strong{font-size:14px;line-height:22px;font-weight:600}
.dev-management-section>.dev-apps-home-entry small{font-size:var(--ui-meta);line-height:18px;margin-top:3px}
.dev-management-section>.dev-apps-home-entry>.dev-chevron{flex-shrink:0;align-self:center}

/* Two direct contact entries and local image messages. */
.dev-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.device-flat-home .dev-contact-grid .dev-contact-bar{width:100%;min-width:0;min-height:76px;margin:0;padding:12px 11px;gap:9px;border-radius:17px}
.dev-contact-grid .dev-contact-bar strong{font-size:15px;line-height:23px;display:flex;align-items:center;gap:6px}
.dev-contact-grid .dev-contact-bar small{font-size:var(--ui-meta);line-height:18px;opacity:.9}
.dev-contact-grid .dev-contact-bar .dev-call-glyph{width:31px;height:31px}
.dev-contact-grid .dev-micro-contact{background:rgba(255,255,255,.68);border-color:rgba(255,255,255,.95);color:var(--sage-ink)}
.dev-contact-grid .dev-micro-contact .dev-call-glyph{background:#6bb6671c;color:var(--muted)}
.dev-contact-grid .dev-micro-contact small{color:var(--muted)}
.dev-chat-unread{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;padding:0 4px;border-radius:9px;background:var(--green);color:#fff;font-size:var(--ui-meta);line-height:16px;font-style:normal;font-weight:500}
.dev-message-tools{display:flex;align-items:center;gap:8px;margin:0 0 9px;padding-left:2px}
.dev-message-tool{display:inline-flex;align-items:center;gap:5px;padding:7px 12px;min-height:36px;border:1px solid #ffffffb0;border-radius:18px;background:#ffffff75;color:var(--muted);font-size:12px!important;line-height:20px;cursor:pointer}
.dev-message-tool .icon{opacity:.75}
.dev-child-composer{padding-left:12px}
.dev-image-bubble{padding:6px!important;min-width:0;overflow:hidden}
.dev-message-image{display:block;border:0;background:none;padding:0;text-align:left;color:var(--muted);max-width:100%;cursor:pointer}
.dev-message-image img{display:block;width:200px;max-width:100%;max-height:230px;object-fit:cover;border-radius:12px}
.dev-message-image>span{display:block;font-size:var(--ui-meta);line-height:19px;padding:4px 5px 1px}
.dev-image-picker{min-width:0}
.dev-image-destination{font-size:12px;color:var(--muted);margin:0 0 12px!important;overflow-wrap:anywhere}
#dev-image-preview{min-height:170px;background:#edf3e8;border:1px solid #e0e9dc;border-radius:18px;overflow:hidden}
.dev-image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:170px;color:var(--muted);font-size:13px}
.dev-image-preview-img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;background:#e8eee4}
.dev-image-file{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 12px;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}
.dev-image-file strong{font-weight:500;min-width:0;overflow-wrap:anywhere}
.dev-image-file small{white-space:nowrap;flex-shrink:0;font-size:var(--ui-meta);color:var(--muted)}
.dev-image-error{font-size:12px;line-height:20px;color:var(--ui-danger);margin:9px 0 0!important}
.dev-image-error:empty{display:none}
.dev-image-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
.dev-image-options .btn{min-width:0;padding:9px 6px;font-size:12px;line-height:20px}
.dev-image-local-note{font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:11px 2px 16px!important}
.dev-image-picker .dev-form-actions{margin-top:0}
.dev-image-view img{display:block;width:100%;height:auto;max-height:58vh;object-fit:contain;border-radius:14px;background:#edf3e8}
.dev-image-view strong{display:block;font-weight:500;font-size:13px;line-height:21px;margin:12px 0 4px;overflow-wrap:anywhere}
.dev-image-view p{font-size:var(--ui-meta);line-height:19px;color:var(--muted)}
@media(max-width:350px){.device-flat-home .dev-contact-grid .dev-contact-bar{padding:11px 9px;gap:7px;min-height:72px}.dev-contact-grid .dev-contact-bar strong{font-size:14px;gap:4px}.dev-contact-grid .dev-contact-bar .dev-call-glyph{width:28px;height:28px}.dev-contact-grid .dev-contact-bar small{font-size:var(--ui-meta)}.dev-chat-unread{min-width:13px;height:13px;padding:0 3px;line-height:16px;font-size:var(--ui-meta)}.dev-message-image img{width:180px}.dev-image-file{align-items:flex-start;flex-direction:column;gap:2px}}

/* Account-based family contact guidance. */
.dev-contact-guide,.dev-contact-form,.dev-contact-directory{min-width:0;color:var(--ink)}
.dev-contact-intro-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:#e8f2e2;border-radius:18px;color:var(--muted);margin-bottom:17px}
.dev-contact-guide h3{font-size:19px;line-height:28px;font-weight:600;margin:0 0 9px}
.dev-contact-guide>p{font-size:13px;line-height:23px;color:var(--muted);margin:0 0 17px}
.dev-contact-target{display:grid;grid-template-columns:1fr;gap:5px;padding:15px 16px;background:#f0f5ec;border:1px solid #e5edde;border-radius:16px;margin:0 0 18px}
.dev-contact-target>span{font-size:var(--ui-meta);line-height:17px;color:var(--muted)}
.dev-contact-target>span:nth-of-type(2){margin-top:8px}
.dev-contact-target>strong{font-size:14px;font-weight:550;line-height:22px;overflow-wrap:anywhere}
.dev-contact-target i{font-style:normal;display:inline-block;font-size:var(--ui-meta);line-height:16px;padding:0 5px;border-radius:6px;margin-left:4px;color:var(--muted);background:#e4ecde;vertical-align:1px}
.dev-contact-name-label{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:20px;color:var(--muted)}
.dev-contact-name-label input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce7d5;border-radius:12px;padding:12px 13px;font:inherit;font-size:15px;color:var(--ink);background:#ffffffc0}
.dev-contact-name-label input:focus{outline:2px solid #a6c99b;outline-offset:1px}
.dev-contact-name-label input:disabled{background:#eef2e9;color:var(--muted);opacity:1}
.dev-contact-sync{margin:17px 0 19px;padding:12px 14px;border-radius:12px;background:#f1f5ed}
.dev-contact-sync strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;line-height:21px;color:var(--muted)}
.dev-contact-sync small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin-top:3px}
.dev-contact-sync.failed strong,.dev-contact-sync.unbound strong{color:var(--ui-warning)}
.dev-contact-sync.waiting strong{color:var(--ui-warning)}
.dev-contact-sync.synced{background:#e8f2e2}
.dev-contact-demo-note{font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin:15px 2px 0}
.dev-contact-destination{font-size:12px;line-height:20px;color:var(--muted);margin:0 0 13px}
.dev-contact-account-state{padding:13px 14px;background:#f2f1e9;border:1px solid #e9e7d9;border-radius:14px;margin-bottom:12px}
.dev-contact-account-state span{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}
.dev-contact-account-state strong{display:block;font-size:13px;line-height:22px;font-weight:500;color:var(--muted);margin-top:3px}
.dev-contact-account-state.is-member{background:#ecf4e7;border-color:#e1edd9}
.dev-contact-account-state.is-member strong{color:var(--muted)}
.dev-contact-people>div{display:flex;align-items:center;gap:11px;padding:13px 3px;border-bottom:1px solid #edf1e8}
.dev-contact-person-glyph{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:12px;background:#eef4e8;color:var(--muted);font-size:14px;flex:none}
.dev-contact-people>div>span:nth-child(2){flex:1;min-width:0}
.dev-contact-people strong{display:block;font-size:14px;font-weight:500;line-height:22px;overflow-wrap:anywhere}
.dev-contact-people small{display:block;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}
.dev-contact-people i{font-size:var(--ui-meta);font-style:normal;color:var(--muted);background:#eef5e9;border-radius:7px;padding:2px 7px}
@media(max-width:350px){.dev-contact-guide h3{font-size:18px}.dev-contact-guide>p{font-size:12px;line-height:22px}.dev-contact-target{padding:13px 14px}.dev-contact-target>strong{font-size:13px}}

/* NFC: read-only cards and optional service visibility. */
.dev-function[data-page="deviceTimetable"]{grid-column:auto;border-top:0;margin:0;padding-left:10px;padding-right:10px}
.dev-function[data-page="deviceTimetable"] small,.dev-function[data-page="deviceNfc"] small{font-size:var(--ui-meta);white-space:normal;line-height:17px}
.dev-function[data-page="deviceNfc"]{min-width:0}

/* Received classroom notes: a service entry and an objective text timeline. */
.dev-function[data-page="deviceNotes"]{grid-column:1/-1;border-top:1px solid #ffffffb0;margin-top:3px;padding-top:15px}
.dev-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 2px 25px}.dev-notes-heading h3{font-size:21px;line-height:31px;font-weight:600}.dev-notes-heading p{font-size:12px;line-height:21px;color:var(--muted);margin-top:5px!important}.dev-notes-heading>span{font-size:var(--ui-meta);color:var(--muted);white-space:nowrap}
.dev-notes-day{margin:0 0 24px}.dev-notes-day>h3{font-size:15px;font-weight:500;margin:0 0 15px 2px;line-height:23px}.dev-notes-day>h3>span{font-size:var(--ui-meta);color:var(--muted);font-weight:400;margin-left:10px}
.dev-notes-timeline{display:flex;flex-direction:column;gap:16px}.dev-note-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:17px;position:relative}.dev-note-row:before{content:"";position:absolute;left:49px;top:13px;width:6px;height:6px;border-radius:50%;background:#7fad68;border:2px solid #edf5e8;z-index:1}.dev-note-row:not(:last-child):after{content:"";position:absolute;left:53px;top:19px;bottom:-29px;width:1px;background:#b5cba466}
.dev-note-clock{padding-top:9px;text-align:right;font-variant-numeric:tabular-nums}.dev-note-clock time{display:block;font-size:12px;color:var(--muted)}.dev-note-clock>span{display:block;font-size:var(--ui-meta);color:var(--muted);margin-top:6px}
.dev-note-card{padding:14px 15px 12px;border-radius:18px!important;min-width:0}.dev-note-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:var(--ui-meta);color:var(--muted)}.dev-note-meta>small{font-size:var(--ui-meta);color:var(--ui-warning);background:#f8efdd;padding:3px 6px;border-radius:5px}.dev-note-card-link{display:block;width:100%;text-align:left;color:inherit;padding:0}.dev-note-card-link h4{font-size:15px;line-height:24px;font-weight:500;margin:9px 0 6px}.dev-note-card-link p{font-size:var(--ui-meta);line-height:21px;color:var(--green);margin:0!important}.dev-note-read{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:12px;color:var(--muted);font-size:var(--ui-meta)}
.dev-notes-notice{padding:11px 13px;border-radius:12px;background:#f7eedfb8;border:1px solid #f2e7d0;font-size:var(--ui-meta);line-height:21px;color:var(--ui-warning);margin:10px 0 18px!important}.dev-notes-empty{text-align:center;padding:34px 20px;border-radius:20px!important;margin-top:15px}.dev-notes-empty>.icon{margin:0 auto 15px;opacity:.7}.dev-notes-empty h3{font-size:17px;font-weight:500;line-height:28px}.dev-notes-empty p{font-size:12px;line-height:23px;color:var(--muted);margin-top:9px!important}
.dev-note-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 2px 17px;font-size:var(--ui-meta);color:var(--muted)}.dev-note-detail-meta>span{padding:4px 8px;background:#e4efda;border-radius:7px;color:var(--muted)}.dev-note-detail h1{font-size:25px;line-height:38px;letter-spacing:.1px;font-weight:600;margin:0 2px 11px}.dev-note-detail-time{font-size:var(--ui-meta);line-height:21px;color:var(--muted);margin:0 2px 25px!important}.dev-note-section{padding:18px 17px;margin-top:14px;border-radius:19px!important}.dev-note-section h3{font-size:15px;line-height:24px;font-weight:500;margin-bottom:10px}.dev-note-section p,.dev-note-section li{font-size:13px;line-height:25px;color:var(--muted);overflow-wrap:anywhere}.dev-note-section ol{padding-left:21px;margin:0}.dev-note-section li{padding-left:3px;margin-bottom:8px}.dev-note-section li:last-child{margin-bottom:0}.dev-note-end{font-size:var(--ui-meta);line-height:21px;color:var(--muted);text-align:center;margin:22px 0!important}
.dev-timetable-received{margin:22px 0}.dev-timetable-week-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 3px}.dev-timetable-week-heading h3{font-size:14px;font-weight:500}.dev-timetable-week-heading>span,.dev-timetable-week-date{font-size:var(--ui-meta);color:var(--muted)}.dev-timetable-week-date{margin:12px 3px 0!important}.dev-timetable-lessons>.dev-timetable-lesson{gap:12px;min-height:61px}.dev-timetable-lesson>strong{flex:1;min-width:0}.dev-course-note-link{flex:none;font-size:var(--ui-meta)!important;white-space:nowrap;min-height:36px}
@media(max-width:350px){.dev-note-row{grid-template-columns:37px minmax(0,1fr);gap:15px}.dev-note-row:before{left:41px}.dev-note-row:not(:last-child):after{left:45px}.dev-note-card{padding:12px}.dev-notes-heading h3{font-size:19px}.dev-note-detail h1{font-size:23px}.dev-timetable-lessons>.dev-timetable-lesson{gap:8px}.dev-course-note-link{font-size:var(--ui-meta)!important}}
.dev-nfc-device{display:flex;align-items:center;gap:11px;padding:16px}
.dev-nfc-device>div{flex:1;min-width:0}
.dev-nfc-device strong{display:block;font-size:14px;line-height:22px;font-weight:500;overflow-wrap:anywhere}
.dev-nfc-device small{display:flex;align-items:center;gap:5px;font-size:var(--ui-meta);line-height:18px;color:var(--muted);margin-top:3px}
.dev-nfc-name-badge{font-size:10px;line-height:18px;padding:3px 9px;white-space:nowrap;border-radius:20px;background:#edf3e7;color:var(--muted);flex:none}
.dev-nfc-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:24px 2px 12px}
.dev-nfc-heading h3{font-size:15px}
.dev-nfc-heading h3 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}
.dev-nfc-heading small{font-size:var(--ui-meta);line-height:18px;color:var(--muted)}
.dev-nfc-list{display:grid;gap:14px}
.dev-nfc-card{position:relative;overflow:hidden;padding:21px 22px 16px;border-radius:21px;border:1px solid #fff9;background:linear-gradient(130deg,#dfeeda,#f1f6ec);box-shadow:0 5px 15px #61794e08;color:var(--sage-ink)}
.dev-nfc-card-sage{background:linear-gradient(130deg,#e1eae6,#f0f5f0);color:var(--sage-ink)}
.dev-nfc-card-top{display:flex;align-items:center;justify-content:space-between;font-size:var(--ui-meta);line-height:20px;color:var(--muted)}
.dev-nfc-card-mark{display:flex;align-items:center;gap:5px;font-size:var(--ui-meta);letter-spacing:1px;color:var(--muted)}
.dev-nfc-card h3{font-size:21px;line-height:30px;font-weight:500;margin:16px 0 7px}
.dev-nfc-card .dev-nfc-identifier{font-family:ui-monospace,monospace;letter-spacing:3px;font-size:16px;line-height:25px;color:var(--muted)}
.dev-nfc-card-bottom{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #fff9;padding-top:12px;margin-top:22px;font-size:var(--ui-meta);line-height:18px;color:var(--muted)}
.dev-nfc-card-bottom>span:first-child{min-width:0;overflow-wrap:anywhere}
.dev-nfc-card-bottom>span:last-child{white-space:nowrap}
.dev-nfc-empty{text-align:center;padding:34px 20px;color:var(--muted)}
.dev-nfc-empty>.icon{display:block;margin:0 auto 15px}
.dev-nfc-empty h3{font-size:16px;line-height:25px;color:var(--sage-ink)}
.dev-nfc-empty p{font-size:12px;line-height:21px;color:var(--muted);margin-top:9px}
.dev-nfc-offline{font-size:var(--ui-meta);line-height:20px;color:var(--ui-warning);padding:10px 13px;background:#f5f1e7;border-radius:12px;margin-bottom:12px!important}
.dev-nfc-note{text-align:center;font-size:var(--ui-meta);line-height:20px;color:var(--muted);margin-top:20px!important}
@media(max-width:350px){.dev-nfc-device{padding:13px;gap:9px}.dev-nfc-device strong{font-size:13px}.dev-nfc-name-badge{padding:2px 7px}.dev-nfc-card{padding:18px 18px 14px}.dev-nfc-heading{margin-top:20px}}

/* Parent-side card names. */
.dev-nfc-card-name-row{display:flex;align-items:center;gap:10px;margin:15px 0 8px}
.dev-nfc-card-name-row>div{flex:1;min-width:0}
.dev-nfc-name-caption{display:block;font-size:var(--ui-meta);line-height:16px;color:var(--muted)}
.dev-nfc-card .dev-nfc-card-name{font-size:21px;line-height:29px;margin:2px 0 0;overflow-wrap:anywhere;word-break:break-word}
.dev-nfc-rename-button{border:1px solid #ffffffbd;background:#ffffff70;border-radius:18px;padding:6px 10px;min-height:34px;flex:none;font-size:var(--ui-meta)!important;line-height:18px;color:var(--green);white-space:nowrap;cursor:pointer}
.dev-nfc-rename-button:focus-visible{outline:2px solid #7dae6b;outline-offset:2px}
.dev-nfc-storage-notice{display:flex;gap:9px;align-items:center;justify-content:space-between;padding:10px 13px;margin-bottom:12px;border-radius:12px;background:#f6f0e4;font-size:var(--ui-meta);line-height:20px;color:var(--ui-warning)}
.dev-nfc-storage-notice>span{min-width:0;flex:1}
.dev-nfc-storage-notice .dev-text-btn{flex:none;font-size:var(--ui-meta)!important}
.dev-nfc-rename-form{min-width:0}
.dev-nfc-rename-target{padding:13px 15px;border:1px solid #e4eddd;border-radius:14px;background:#eff5e9;margin-bottom:18px}
.dev-nfc-rename-target>span{display:block;font-size:var(--ui-meta);line-height:19px;color:var(--muted);overflow-wrap:anywhere}
.dev-nfc-rename-target>strong{display:block;font-family:ui-monospace,monospace;letter-spacing:3px;font-size:17px;font-weight:500;line-height:27px;margin-top:4px;color:var(--muted)}
.dev-nfc-name-label{display:block;font-size:12px;line-height:20px;color:var(--muted);margin-bottom:8px}
#dev-nfc-name{box-sizing:border-box;width:100%;min-width:0;border:1px solid #dce8d2;border-radius:12px;padding:12px 13px;font:inherit;font-size:15px;line-height:22px;color:var(--sage-ink);background:#ffffffb0}
#dev-nfc-name:focus{outline:2px solid #a7c995;outline-offset:1px}
#dev-nfc-name:disabled{background:#edf2e8;color:var(--muted);opacity:1}
#dev-nfc-name[aria-invalid="true"]{border-color:#c79e80}
.dev-nfc-name-help{font-size:var(--ui-meta);line-height:19px;color:var(--muted);margin:8px 1px 0!important}
.dev-nfc-name-error{font-size:12px;line-height:21px;color:var(--ui-warning);margin:10px 1px 0!important}
.dev-nfc-name-error:empty{display:none}
.dev-nfc-rename-form .dev-form-actions{margin-top:22px}
.dev-nfc-name-reload{margin-top:8px}
@media(max-width:350px){.dev-nfc-card-name-row{gap:7px}.dev-nfc-card .dev-nfc-card-name{font-size:19px;line-height:27px}.dev-nfc-rename-button{padding:5px 8px;min-height:33px}.dev-nfc-name-help{font-size:var(--ui-meta)}.dev-nfc-rename-target{padding:12px 13px}}

/* Device selection belongs to the device homepage; subpages show attribution only. */
.dev-device-context{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:var(--ui-meta)!important;line-height:20px!important;color:var(--muted);margin:0 3px 17px!important}.dev-device-context>span{color:var(--muted)}
