@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#080f1c;--surface:#101b2b;--surface2:#142238;--surface3:#19283d;--line:#243349;--text:#eaf3fd;--muted:#8a9cb1;--mint:#61e5d9;--mint2:#20b8ab;--pink:#f66081;--amber:#ffbe70;--red:#fa6677;--shadow:0 24px 64px #0005;font-family:Manrope,'DM Sans',system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{outline:none}a{color:inherit;text-decoration:none}.hidden{display:none!important}.muted{color:var(--muted)}.soft-text{color:#b4c2d4}.accent{color:var(--mint)}.f-sm{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2.1px;font-weight:800;color:var(--mint);display:inline-flex;align-items:center;gap:9px}.dot,.system-status i{width:7px;height:7px;background:var(--mint);border-radius:50%;box-shadow:0 0 0 5px #60e5d91c}
/* Auth */
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr)}.auth-left{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 70% 40%,#20656891,transparent 43%),radial-gradient(circle at 5% 0%,#213e83aa,transparent 55%),linear-gradient(145deg,#0b2039,#0b1728 73%,#07242c);padding:48px clamp(35px,5.5vw,92px)}.auth-left:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 98%,#ffffff0c 99%) 0 0/100% 55px,linear-gradient(90deg,transparent 98%,#ffffff0b 99%) 0 0/55px 100%;mask-image:linear-gradient(60deg,transparent,#000 70%);z-index:-1}.auth-brand,.side-brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:800;letter-spacing:3px}.brand-watch{color:var(--mint);margin-left:4px}.brand-logo,.side-mark{display:grid;place-items:center;background:#b4fff114;width:45px;height:45px;border:1px solid #64eadb62;border-radius:16px;color:var(--mint);font-size:30px}.auth-story{position:relative;z-index:2;margin-top:clamp(90px,12vh,175px);max-width:565px}.auth-story h1{font-size:clamp(48px,5vw,78px);line-height:1.13;letter-spacing:-3.9px;margin:21px 0 19px;font-weight:800}.auth-story em{font-style:normal;color:var(--mint)}.auth-story p{font-size:15px;line-height:1.95;color:#b7c8d8;max-width:390px}.auth-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.auth-tags span{border:1px solid #82cccf49;color:#b4e5e2;border-radius:30px;padding:9px 14px;font-size:11px;font-weight:700}.auth-footer{position:absolute;bottom:40px;color:#8da2b6;font-size:11px}.auth-watch-art{position:absolute;right:4%;top:26%;height:505px;width:245px;transform:rotate(13deg);opacity:.65;filter:drop-shadow(0 35px 48px #0007);z-index:1}.strap{position:absolute;left:67px;width:112px;background:linear-gradient(90deg,#141c27,#3f5360 50%,#121a24);border:4px solid #182837}.strap-top{height:220px;top:-120px;border-radius:20px}.strap-bottom{height:220px;bottom:-130px;border-radius:20px}.watch-case{position:absolute;top:120px;left:13px;width:220px;height:258px;border:10px solid #344859;border-radius:53px;background:#050d17;box-shadow:inset 0 0 0 5px #05101b,0 0 0 3px #73839391}.watch-face{height:100%;border-radius:39px;padding:20px 14px;background:radial-gradient(circle at 70% 20%,#174c56,#081b2a 62%);border:1px solid #80a5a424}.watch-topline{display:flex;justify-content:space-between;color:#74dacd;font-size:7px;letter-spacing:1px}.watch-time{font-size:45px;font-weight:800;letter-spacing:-2px;margin:20px 0}.watch-notification{display:flex;gap:7px;align-items:center;border:1px solid #69e6da48;border-radius:15px;background:#1c414c;padding:9px 6px}.watch-notification b,.watch-notification small{display:block;font-size:8px;white-space:nowrap}.watch-notification small{color:#b1d2d4;margin-top:4px}.notif-icon{background:#61e5d926;color:#84f5e6;border-radius:9px;padding:9px}.auth-right{background:radial-gradient(circle at 70% 0,#25304b44,transparent 48%),#0a111f;display:grid;place-items:center;padding:36px}.auth-panel{width:min(100%,440px)}.auth-mobile-brand{display:none}.auth-label{color:var(--mint);font-size:11px;letter-spacing:2px;font-weight:800}.auth-panel h2{font-size:clamp(27px,3vw,35px);letter-spacing:-1.5px;margin:15px 0 9px}.auth-panel>p{color:var(--muted);line-height:1.7;font-size:13px}.auth-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:30px 0 25px}.auth-tabs button{border:0;background:transparent;color:#91a1b7;padding:13px 19px;font-size:13px;font-weight:800;border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--mint);border-color:var(--mint)}.form-field{display:block;color:#d0dce9;font-size:12px;font-weight:700;margin:0 0 19px}.form-field input,.form-field textarea,.form-field select,.form-input{display:block;margin:9px 0 0;width:100%;min-height:47px;background:#101b2d;border:1px solid #273b50;border-radius:12px;padding:12px 15px;color:var(--text);transition:.16s}.form-field input::placeholder,.form-field textarea::placeholder{color:#627489}.form-field input:focus,.form-field textarea:focus,.form-field select:focus,.form-input:focus{border-color:var(--mint2);box-shadow:0 0 0 3px #50dec320}.optional{color:#698097;font-weight:500}.btn{border:1px solid transparent;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 17px;border-radius:12px;font-size:12px;font-weight:800;transition:transform .15s ease,filter .15s}.btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.07)}.btn-primary{background:var(--mint);color:#08252d;box-shadow:0 8px 22px #39d9c427}.btn-secondary{background:#1b3147;color:#c5e7ed;border-color:#2b5060}.btn-ghost{background:transparent;color:#b5c7d8;border-color:#2d4155}.btn-danger{background:#442737;color:#ff9eaa;border-color:#844253}.btn-white{background:#e2f7fc;color:#0f2739}.btn-sm{min-height:36px;padding:8px 13px;font-size:11px}.auth-submit{width:100%;justify-content:space-between;padding:15px 20px;margin-top:10px;font-size:13px}.auth-submit span{font-size:21px}.auth-bottom{margin-top:25px;font-size:11px!important}.form-warning{padding:11px 13px;background:#3d2334;color:#ffc8d1;font-size:12px;border-radius:10px;margin:15px 0}
/* Shell */
.app-shell{min-height:100vh;display:flex}.sidebar{width:247px;flex-shrink:0;background:#0d1726;border-right:1px solid #27354a;display:flex;flex-direction:column;padding:29px 17px 17px;position:fixed;inset:0 auto 0 0;z-index:15}.side-brand{margin:0 7px 52px;font-size:17px;letter-spacing:2px}.side-brand span:last-child{display:flex;flex-direction:column}.side-brand small{font-size:10px;color:var(--mint);letter-spacing:5.2px;margin-top:1px}.side-mark{width:40px;height:40px;flex-shrink:0}.side-subtitle{color:#587087;font-size:10px;font-weight:800;letter-spacing:1.8px;margin:0 12px 13px}.tools-title{margin-top:30px}.sidebar nav{display:grid;gap:5px}.nav-link{height:45px;display:flex;align-items:center;gap:13px;background:transparent;border:1px solid transparent;border-radius:10px;padding:0 12px;color:#91a6bd;font-size:12px;font-weight:750;text-align:left}.nav-link:hover,.nav-link.active{background:#173445;color:#e6fcff}.nav-link.active{border-color:#2f6270}.nav-icon{font-size:19px;min-width:21px;text-align:center;color:#7492a8}.nav-link.active .nav-icon{color:var(--mint)}.nav-count{margin-left:auto;background:#20384c;color:#9de9e2;font-size:10px;border-radius:5px;padding:2px 6px}.side-bottom{margin-top:auto}.mini-pulse{display:flex;align-items:center;gap:10px;background:linear-gradient(140deg,#164452,#182b3f);border:1px solid #275866;border-radius:13px;padding:14px 12px;margin-bottom:18px}.mini-pulse-ring{color:var(--mint);font-size:25px}.mini-pulse b{font-size:10px}.mini-pulse p{font-size:10px;color:#87aab3;line-height:1.5;margin:5px 0 0}.sidebar-user{display:flex;align-items:center;gap:10px;border-top:1px solid #25354b;padding:17px 4px 3px}.avatar,.top-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#67e5d8,#328c9c);color:#07232a;font-size:14px;font-weight:800;flex-shrink:0}.user-info{min-width:0;flex:1}.user-info b,.user-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info b{font-size:11px}.user-info small{font-size:10px;color:#758da6;margin-top:4px}.icon-button{border:0;background:transparent;color:#8ca6bf;font-size:21px;padding:7px}.main-wrap{margin-left:247px;width:calc(100% - 247px);min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 50% -10%,#12455a38,transparent 48%),#090f1b}.topbar{height:77px;border-bottom:1px solid #233246;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4.6vw,70px)}.breadcrumb{color:#617a95;font-size:10px;font-weight:800;letter-spacing:1.1px}.breadcrumb span{margin:0 12px;color:#354c64}.breadcrumb b{color:#bdcedb}.top-actions{display:flex;gap:20px;align-items:center}.system-status{font-size:11px;color:#9bb4c7;font-weight:650;display:flex;align-items:center;gap:10px}.top-avatar{border:none;width:36px;height:36px;border-radius:50%;font-size:12px}.menu-toggle{display:none}.main-content{width:min(100%,1520px);padding:37px clamp(22px,4.6vw,70px) 55px;margin:0 auto;flex:1}.main-footer{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #1d2c3c;color:#53687e;font-size:10px;padding:18px clamp(22px,4.6vw,70px)}.main-footer b{color:var(--mint)}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:27px}.page-heading h1{font-size:26px;line-height:1.3;letter-spacing:-1px;margin:4px 0 7px;font-weight:800}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.page-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.card{background:linear-gradient(155deg,#142238,#101b2b);border:1px solid #25374d;border-radius:18px;box-shadow:0 12px 30px #0001}.section-label{font-size:12px;font-weight:800;margin:0;letter-spacing:-.2px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.text-link{border:0;color:var(--mint);background:transparent;font-size:11px;font-weight:800}.text-link:hover{text-decoration:underline}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #2b4b54;border-radius:22px;padding:6px 9px;font-size:9px;font-weight:800;color:#91cbd0;background:#142a35}.pill.dotty:before{content:"";width:6px;height:6px;background:var(--mint);border-radius:50%}.pill.offline{border-color:#364152;color:#889bb0;background:#192535}.pill.offline:before{background:#7d8ca0}.divider{height:1px;background:var(--line);margin:18px 0}
/* Dashboard */
.hero{min-height:205px;position:relative;overflow:hidden;border:1px solid #285e68;border-radius:20px;padding:31px 35px;background:radial-gradient(circle at 70% 35%,#2b958b76,transparent 33%),linear-gradient(105deg,#164150,#0d3041 70%,#0a2e39)}.hero:before,.hero:after{content:"";position:absolute;border:1px solid #6ce5e03a;border-radius:50%;right:8%;top:-45%;height:380px;width:380px}.hero:after{right:15%;top:-20%;height:260px;width:260px}.hero-content{position:relative;z-index:1;max-width:620px}.hero h2{font-size:clamp(21px,2.6vw,30px);line-height:1.32;letter-spacing:-1.1px;margin:12px 0 8px}.hero h2 em{font-style:normal;color:var(--mint)}.hero p{color:#b6d3d9;font-size:12px;max-width:385px;line-height:1.8;margin:0 0 20px}.hero-illustration{position:absolute;right:8%;top:35px;transform:rotate(-11deg);height:145px;width:110px;border:8px solid #9ce6e44f;border-radius:30px;background:linear-gradient(135deg,#122c3c,#081824);box-shadow:0 0 0 7px #58d9d31c,0 13px 60px #0008}.hero-illustration:before,.hero-illustration:after{position:absolute;content:"";height:36px;width:55px;background:#17404a;left:19px;z-index:-1}.hero-illustration:before{top:-42px}.hero-illustration:after{bottom:-42px}.hero-illustration .screen-text{margin:30px 5px;color:var(--mint);font-size:10px;text-align:center;line-height:1.5;font-weight:800}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 27px}.stat{padding:18px 20px;display:flex;align-items:center;gap:14px;min-width:0}.stat-icon{height:43px;width:43px;border-radius:13px;display:grid;place-items:center;font-size:21px;color:var(--mint);background:#246d6b40}.stat:nth-child(2) .stat-icon{color:#a1baff;background:#324e833c}.stat:nth-child(3) .stat-icon{color:#fbba8d;background:#6c47363a}.stat:nth-child(4) .stat-icon{color:#f9a9c0;background:#753a5a36}.stat strong{font-size:23px;line-height:1.1;display:block;letter-spacing:-1px}.stat span{font-size:10px;color:var(--muted);margin-top:6px;display:block;white-space:nowrap}.dashboard-body{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(315px,.9fr);gap:22px;align-items:start}.watch-list{display:grid;gap:10px}.watch-card{display:flex;align-items:center;gap:13px;min-height:96px;padding:15px 16px;border-radius:15px;background:linear-gradient(145deg,#15283b,#122033);border:1px solid #2a4054;cursor:pointer;transition:.14s}.watch-card:hover{border-color:#469494;transform:translateY(-1px)}.watch-symbol{height:52px;width:52px;flex-shrink:0;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2a6068,#1b364b);color:#8cebe1;font-size:27px}.watch-info{flex:1;min-width:0}.watch-info h3{margin:0 0 5px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-info p{margin:0;font-size:10px;color:#8198ad}.watch-trailing{text-align:right;display:grid;justify-items:end;gap:10px}.watch-trailing>small{color:#7891a6;font-size:9px}.empty-state{padding:38px 24px;text-align:center;border:1px dashed #395069;border-radius:16px;background:#13223688}.empty-symbol{font-size:34px;color:var(--mint)}.empty-state h3{font-size:15px;margin:12px 0 5px}.empty-state p{font-size:11px;color:var(--muted);line-height:1.75;max-width:340px;margin:0 auto 20px}.section-spacer{margin-top:24px}.activity-list{background:#0f1b2d;border:1px solid #273950;border-radius:15px;overflow:hidden}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border-bottom:1px solid #26364a}.activity-row:last-child{border-bottom:0}.activity-symbol{height:33px;width:33px;border-radius:10px;background:#204a58;color:#78dfd7;display:grid;place-items:center;flex-shrink:0;font-size:16px}.activity-symbol.fail{background:#4b2938;color:#f59bac}.activity-main{min-width:0;flex:1}.activity-main strong{font-size:11px;display:block}.activity-main p{font-size:10px;line-height:1.55;color:#a1b3c7;margin:4px 0 0;overflow-wrap:anywhere}.activity-time{font-size:9px;color:#778da3;white-space:nowrap}.compose-card{padding:23px;position:sticky;top:21px}.compose-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.compose-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800}.compose-title span{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#224f5c;color:#7be4da;font-size:18px}.compose-description{color:#859aaf;font-size:11px;line-height:1.7;margin:0 0 20px}.field-label{font-size:11px;color:#b8c7d6;font-weight:800;display:block;margin:0 0 9px}.compose-segments{display:flex;gap:5px;background:#0b1726;border-radius:11px;padding:5px;margin-bottom:15px}.compose-segments button{flex:1;background:transparent;color:#7893a7;border:0;border-radius:8px;padding:10px 5px;font-size:10px;font-weight:800}.compose-segments button.selected{color:#0e3038;background:var(--mint)}.select-box{width:100%;background:#0c1828;border:1px solid #30485b;border-radius:10px;padding:11px;color:#d8e8f3;font-size:11px;margin-bottom:16px}.recipient-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.recipient-chip{font-size:9px;color:#a8dce0;border:1px solid #2e5e64;background:#1c3945;border-radius:7px;padding:5px 9px}.recipient-chip.empty-chip{color:#94a5b8;border-color:#425264;background:#202b3b}.compose-input{width:100%;border-radius:11px;border:1px solid #33485c;background:#0b1728;padding:13px;color:#e5f3fb;min-height:115px;resize:vertical;font-size:12px;line-height:1.65}.compose-input:focus{border-color:var(--mint2)}.compose-meta{display:flex;justify-content:space-between;font-size:10px;color:#738da1;margin:8px 0 15px}.compose-send{width:100%;justify-content:space-between;padding:13px 15px}.compose-status{font-size:11px;color:#9ab0c2;margin-top:12px;line-height:1.7;white-space:pre-line}.choice-grid{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.choice{padding:8px 10px;background:#142739;border:1px solid #36506a;border-radius:9px;color:#cbdce9;font-size:11px;cursor:pointer}.choice.checked{border-color:#59d7cd;background:#194649;color:#b6fff3}.choice input{accent-color:var(--mint);margin-right:7px}
/* Full cards and device */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.large-watch-card{min-height:205px;padding:20px;display:flex;flex-direction:column;gap:17px;cursor:pointer;transition:.16s}.large-watch-card:hover,.group-card:hover{border-color:#4f8c91;transform:translateY(-2px)}.large-watch-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.large-watch-name{font-size:15px;margin:0 0 5px}.large-watch-code{font-size:10px;color:#8198a9}.large-watch-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:#7894ab;font-size:10px}.large-watch-symbol{width:42px;height:42px;background:#1e525d;border-radius:13px;display:grid;place-items:center;color:var(--mint);font-size:23px;margin-bottom:9px}.group-card{padding:21px;min-height:180px;display:flex;flex-direction:column;transition:.16s}.group-symbol{width:43px;height:43px;border-radius:13px;background:#293f67;color:#abc6ff;display:grid;place-items:center;font-size:22px;margin-bottom:13px}.group-card h3{font-size:14px;margin:0 0 5px}.group-card p{font-size:10px;line-height:1.65;color:#849bb1;margin:0}.group-buttons{display:flex;gap:7px;margin-top:auto;padding-top:15px}.group-buttons button{flex:1}.detail-back{display:inline-flex;gap:7px;align-items:center;background:none;border:none;color:var(--muted);font-size:12px;font-weight:750;margin-bottom:19px;padding:0}.device-detail-top{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;margin-bottom:23px}.detail-avatar{height:70px;width:70px;border-radius:20px;background:linear-gradient(135deg,#236874,#123349);display:grid;place-items:center;font-size:31px;color:var(--mint)}.device-heading-inner{display:flex;gap:16px;align-items:center}.device-heading-inner h1{font-size:25px;margin:0 0 7px}.detail-action-list{display:flex;gap:9px;flex-wrap:wrap}.detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:18px;align-items:start}.panel{padding:22px}.panel h3{font-size:13px;margin:0 0 16px}.heartbeat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.heartbeat-box{border-radius:12px;border:1px solid #284054;padding:15px;background:#0e1e2e}.heartbeat-box strong{display:block;margin:5px 0 6px;font-size:18px}.heartbeat-box small{font-size:9px;color:#839bb0;line-height:1.6}.note-textarea{width:100%;border:1px solid #304459;background:#0b1728;border-radius:10px;color:var(--text);padding:12px;min-height:85px;resize:vertical;font-size:11px}.note{padding:12px;border:1px solid #304057;border-radius:10px;margin-top:10px;background:#101f30}.note p{font-size:11px;margin:0 0 8px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.note small{font-size:9px;color:#7e99ac}.note footer{display:flex;justify-content:space-between;align-items:center}.danger-link{border:none;background:transparent;color:#f68b9c;font-size:10px}.code-box{padding:13px;border:1px dashed #5b9e99;border-radius:12px;background:#163a42;display:flex;align-items:center;justify-content:space-between;gap:10px}.code-box code{font-size:16px;letter-spacing:2px;color:#adfff4}.code-box button{font-size:10px;border:0;background:#3d7778;color:#fff;border-radius:7px;padding:8px 11px}.small-muted{font-size:10px;color:#8b9bad;line-height:1.7}.warning-callout{border:1px solid #5b493a;background:#312a2b;border-radius:11px;color:#e0bda0;font-size:10px;line-height:1.7;padding:11px 13px}.empty-inline{color:#7891a8;font-size:11px;line-height:1.7;padding:13px}.activity-filters{display:flex;gap:7px;margin-bottom:19px;flex-wrap:wrap}.filter-btn{border:1px solid #2e4258;border-radius:9px;background:#142338;color:#8eabc0;padding:8px 13px;font-size:10px}.filter-btn.active{background:#20525b;color:var(--mint);border-color:#3f8e92}.settings-card{padding:25px;margin-bottom:15px}.settings-card h3{font-size:14px;margin:0 0 8px}.settings-card p{font-size:11px;line-height:1.8;color:#8ba0b5}.settings-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #28394d;font-size:11px}.settings-row:last-child{border-bottom:0}.settings-row strong{font-weight:700;color:#d1e8f0}.info-label{font-size:9px;color:#738a9d;letter-spacing:1.2px;font-weight:800}
/* Modals, feedback */
.modal-root{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;background:#020b13d9;backdrop-filter:blur(5px)}.modal-frame{position:relative;z-index:2;background:linear-gradient(160deg,#192a40,#101d30);border:1px solid #3b576b;border-radius:19px;width:min(100%,490px);max-height:90vh;overflow-y:auto;padding:25px;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:22px}.modal-head h2{font-size:20px;letter-spacing:-.4px;margin:2px 0 7px}.modal-head p{color:var(--muted);font-size:11px;line-height:1.7;margin:0}.modal-close{background:#24374c;color:#a9bfcc;border:0;border-radius:9px;font-size:19px;width:32px;height:32px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-actions .btn{min-width:105px}.toast-stack{position:fixed;right:22px;bottom:22px;z-index:50;display:grid;gap:9px;width:min(360px,calc(100vw - 36px));pointer-events:none}.toast{pointer-events:auto;color:#e1f4f1;background:#183c46;border:1px solid #41918e;padding:13px 17px;box-shadow:var(--shadow);border-radius:12px;font-size:12px;line-height:1.6;animation:pop .2s ease}.toast.error{background:#492737;border-color:#af5866;color:#ffd6d9}@keyframes pop{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.skeleton{animation:shimmer 1.2s infinite alternate;background:#1d3045;border-radius:12px;height:115px}@keyframes shimmer{to{opacity:.42}}
@media(max-width:1400px){.grid-3{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-illustration{right:5%}}
@media(max-width:1050px){.dashboard-body{grid-template-columns:1fr}.compose-card{position:relative;top:auto;order:-1}.auth-watch-art{opacity:.3;right:-50px}.auth-story h1{font-size:50px}.detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .18s;box-shadow:20px 0 50px #0008}.sidebar.open{transform:translateX(0)}.mobile-shade{position:fixed;inset:0;background:#0009;z-index:14}.menu-toggle{display:block;border:0;background:transparent;color:#a9c2d1;font-size:21px;margin-right:12px}.main-wrap{width:100%;margin-left:0}.topbar{height:65px;padding:0 20px}.breadcrumb{margin-right:auto}.system-status{display:none}.main-content{padding:25px 19px 45px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:15px 12px;gap:10px}.stat-icon{width:36px;height:36px}.stat strong{font-size:21px}.stat span{font-size:9px}.hero{padding:25px 23px}.hero-illustration{display:none}.hero h2{font-size:22px}.grid-3{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:stretch}.page-actions{width:100%}.main-footer{padding:15px 20px}.device-detail-top{grid-template-columns:1fr}.detail-action-list{width:100%}.auth-screen{grid-template-columns:1fr}.auth-left{display:none}.auth-right{min-height:100vh;padding:30px 23px}.auth-mobile-brand{display:block;color:#e2f4f5;font-weight:800;letter-spacing:2px;margin-bottom:56px}.auth-mobile-brand span{color:var(--mint)}.auth-panel h2{font-size:27px}.heartbeat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:410px){.heartbeat-grid{grid-template-columns:1fr}.stat-icon{display:none}.watch-trailing small{display:none}.hero h2{font-size:20px}.modal-frame{padding:19px}.main-footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Logomarca original Conrad IT Solutions; cores e layout preservados. */
.conrad-logo{display:block;object-fit:contain;flex-shrink:0}
.auth-mobile-brand .conrad-logo{display:inline-block;vertical-align:middle;margin-right:8px}

/* V4: complementos de navegação e comandos. Cores originais preservadas. */
.command-panel{max-width:930px}.command-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:17px 0 28px}.command-choice{text-align:left;display:flex;flex-direction:column;gap:10px;padding:18px;background:#102336;border:1px solid var(--line);border-radius:14px;color:var(--text);min-height:175px}.command-choice span{font-size:28px;color:var(--mint)}.command-choice b{font-size:13px}.command-choice small{color:var(--muted);font-size:11px;line-height:1.7}.command-choice.selected{border-color:var(--mint);background:#174047}.command-summary{font-size:11px;color:var(--muted);margin:8px 0 14px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0;color:var(--muted);font-size:11px}.history-device{max-width:400px}.sleep-summary{display:flex;gap:9px;flex-direction:column;margin-bottom:14px}.sleep-summary strong{font-size:22px}.sleep-summary span{font-size:11px;color:var(--muted)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid .heartbeat-box strong{font-size:17px}
@media(max-width:800px){.command-picker{grid-template-columns:1fr}.command-choice{min-height:0}.history-pagination{flex-wrap:wrap;justify-content:center}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.metric-grid{grid-template-columns:1fr}}

/* V5 — grades por funcionalidade. Identidade visual anterior preservada. */
.nav-icon svg{width:19px;height:19px;display:block}
.feature-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 30px}
.feature-shortcuts button{min-width:0;text-align:left;border:1px solid var(--line);background:linear-gradient(145deg,#13283b,#101b2b);border-radius:17px;padding:19px;color:var(--text);display:flex;gap:5px;flex-direction:column;transition:transform .18s,border-color .18s}
.feature-shortcuts button:hover{transform:translateY(-2px);border-color:#53ccc1}
.feature-shortcuts span{font-size:26px;color:var(--mint);line-height:1.2}
.feature-shortcuts b{font-size:14px;margin-top:7px}
.feature-shortcuts small{font-size:11px;color:var(--muted)}
.grid-panel{padding:0;overflow:hidden;margin-top:18px}
.grid-panel-head{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.grid-panel-head h2,.grid-compose h2{font-size:17px;letter-spacing:-.4px;margin:0 0 6px}
.grid-panel-head p{margin:0}
.grid-total{border:1px solid #285661;background:#193849;color:var(--mint);border-radius:25px;padding:8px 13px;font-size:11px;font-weight:800;white-space:nowrap}
.grid-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:15px 24px;background:#0e1c2d;border-bottom:1px solid var(--line)}
.grid-group-picker{display:inline-flex;gap:9px;align-items:center;color:#8fa6ba;font-size:11px;font-weight:700;white-space:nowrap}
.grid-group-picker select{min-width:178px;width:auto;margin:0;min-height:36px;font-size:11px}
.selected-total{margin-left:auto;font-size:11px;color:var(--mint);font-weight:800}
.records-scroller{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.records-grid{width:100%;border-collapse:collapse;min-width:915px}
.records-grid th{padding:16px 14px;color:#8eabc1;text-transform:uppercase;font-size:10px;letter-spacing:.8px;text-align:left;font-weight:800;border-bottom:1px solid var(--line);background:#101e30;white-space:nowrap}
.records-grid td{padding:17px 14px;border-bottom:1px solid #25364a;color:#d7e5f0;font-size:12px;line-height:1.55;vertical-align:middle}
.records-grid tbody tr{background:#111d2d;transition:background .15s}
.records-grid tbody tr:nth-child(even){background:#121f31}
.records-grid tbody tr:hover,.records-grid tbody tr.selected{background:#183345}
.records-grid th:first-child,.records-grid td:first-child{padding-left:25px}
.records-grid th:last-child,.records-grid td:last-child{padding-right:24px}
.records-grid input[type=checkbox]{width:17px;height:17px;accent-color:var(--mint);cursor:pointer}
.grid-check{width:45px}
.watch-person{display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;color:var(--text);padding:0;white-space:nowrap}
.watch-person:hover strong{color:var(--mint);text-decoration:underline}
.watch-person strong{display:block;font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.watch-person small{display:block;color:#819bb2;font-size:10px;margin-top:3px}
.person-avatar{width:39px;height:39px;display:grid;place-items:center;background:#183b49;border:1px solid #315c6b;color:var(--mint);border-radius:13px;flex-shrink:0}
.metric-primary{font-size:18px;color:var(--mint)}
.metric-primary small{font-size:10px;color:#a8bbc9;font-weight:600}
.grid-extras{max-width:240px;color:#9eb5c8!important}
.grid-date{color:#a2bacc!important;white-space:nowrap;font-variant-numeric:tabular-nums}
.grid-message{display:block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grid-empty{color:#7a90a5;font-style:italic}
.grid-no-data{text-align:center;color:#93a9bc!important;padding:43px 18px!important}
.grid-bottom{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.grid-bottom>span{font-size:12px;color:#90a6b8}
.grid-compose{padding:24px;margin-top:18px}
.grid-compose .grid-bottom{padding:0}
.grid-compose-fields{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,3fr);gap:17px;margin-top:17px}
.grid-compose textarea{width:100%;min-height:104px;background:#101b2d;border:1px solid #273b50;border-radius:12px;padding:13px 15px;color:var(--text);resize:vertical;margin-top:9px}
.grid-compose textarea:focus{border-color:var(--mint2);box-shadow:0 0 0 3px #50dec320}
.grid-compose .form-field{margin-bottom:9px}
.grid-history{margin-bottom:20px}
.grid-ok{color:var(--mint);font-weight:800}
.grid-fail{color:#ff9ba9;font-weight:800}
.records-history{min-width:750px}
.records-history td:nth-child(2){max-width:480px;overflow-wrap:anywhere}
.records-history td:first-child{min-width:200px}
@media(max-width:1250px){.feature-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.feature-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.feature-shortcuts button{padding:14px}.grid-panel-head,.grid-toolbar,.grid-bottom{padding:15px}.grid-toolbar{gap:8px}.grid-group-picker{width:100%;justify-content:space-between}.grid-group-picker select{flex:1;min-width:0}.selected-total{margin:0}.grid-compose{padding:17px}.grid-compose-fields{grid-template-columns:1fr}.grid-panel-head h2{font-size:15px}}

/* V6 - identidade original preservada; cores tematicas e movimento leve (acessibilidade abaixo). */
.color-red,.heart-live,.panic-live,.reset-live{color:#ff647b!important}
.color-amber,.alarm-live{color:#ffc66a!important}
.color-blue,.sport-live{color:#5bb7ff!important}
.color-purple,.repeat-live{color:#b9a2ff!important}
.moon-live{color:#c6baff!important;display:inline-block;filter:drop-shadow(0 0 9px #9e8cff40);animation:moon-glow 3.2s ease-in-out infinite}
.heart-live{display:inline-block;font-weight:900;font-size:1.15em;line-height:1;filter:drop-shadow(0 0 9px #ff647b66);animation:heart-pulse 1.25s ease-in-out infinite}
.vibrate-live{color:#59e5dc!important;display:inline-block;font-weight:900;filter:drop-shadow(0 0 9px #59e5dc50);animation:vibrate-soft 3.2s ease-in-out infinite}
.alarm-live{display:inline-block;filter:drop-shadow(0 0 8px #ffcf6550);animation:alarm-pulse 1.9s ease-in-out infinite}
.panic-live{display:inline-grid;place-items:center;color:#fff!important;background:#d52f5b;width:23px;height:23px;border-radius:50%;font-weight:900;box-shadow:0 0 15px #ff3b6866;animation:alarm-pulse 2s infinite}
.reset-live,.repeat-live{display:inline-block}
.repeat-live{animation:rotate-slow 7s linear infinite}
.sport-live{display:inline-block;filter:drop-shadow(0 0 7px #5bb7ff50)}
.is-vibrating .vibrate-live{animation:vibrate-soft .18s linear infinite}
.is-measuring .heart-live{animation:heart-pulse .66s ease-in-out infinite}
.feature-shortcuts button[data-view="heart"]{border-color:#64354a;background:linear-gradient(130deg,#351c2c,#131b2d)}
.feature-shortcuts button[data-view="sports"]{border-color:#2b4665;background:linear-gradient(130deg,#142e49,#111b2d)}
.feature-shortcuts button[data-view="alarm"]{border-color:#66533d;background:linear-gradient(130deg,#322a25,#111b2d)}
.feature-shortcuts button[data-view="panic"]{border-color:#6d2e4c;background:linear-gradient(130deg,#45162e,#121728)}
.feature-shortcuts button[data-view="sleep"]{border-color:#514670;background:linear-gradient(130deg,#211c40,#11182c)}
.feature-shortcuts button[data-view="repetitions"]{border-color:#403d68;background:linear-gradient(130deg,#201d3a,#111b2d)}
.records-grid tr:hover .person-avatar{border-color:#5ee2d5;transform:translateY(-1px);transition:.18s}
.weather-box{border:1px solid #35506b;background:linear-gradient(105deg,#13384a,#1d2940 52%,#111b2b);border-radius:17px;padding:19px 24px;display:flex;align-items:center;gap:18px;margin:17px 0 22px;box-shadow:0 9px 35px #05122670}
.weather-icon{font-size:43px;width:70px;flex:none;text-align:center;filter:drop-shadow(0 0 18px #ffcd6060)}
.weather-copy{flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.weather-copy>span{font-size:11px;letter-spacing:1px;color:#b6c5dc;font-weight:800}
.weather-copy>strong{font-size:27px;line-height:1.2}
.weather-copy>strong small{font-size:14px;font-weight:600;color:#c3d5ec}
.weather-copy>small{font-size:10px;color:#95aec6}
.v6-tools{margin:17px 0;padding:24px}
.v6-tools h3{font-size:19px;display:flex;align-items:center;gap:12px;margin:0 0 15px}
.v6-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:15px 0 20px}
.v6-forms .form-field{margin:0}.v6-forms select,.v6-forms input{min-width:0;width:100%}
.v6-span-2{grid-column:span 2}.v6-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.v6-warning{margin:17px 0}.panic-panel{background:linear-gradient(160deg,#2e192e,#111b2b);border:1px solid #6e3455}
.panic-panel textarea{background:#16192c}
.v6-compact{min-width:610px}.v6-compact td{padding:12px 15px}.v6-compact th{padding:10px 15px}
.repeat-item{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#142237;border:1px solid #2c4059;border-radius:13px;padding:13px 18px;margin:11px 0}
.repeat-item div{display:flex;flex-direction:column;gap:5px}.repeat-item small{font-size:11px;color:#afc3d8}
.v6-weather-form{display:flex;align-items:end;gap:18px}.v6-weather-form .form-field{flex:1}
@keyframes heart-pulse{0%,100%{transform:scale(1)}15%{transform:scale(1.24)}30%{transform:scale(.96)}46%{transform:scale(1.17)}70%{transform:scale(1)}}
@keyframes vibrate-soft{0%,91%,100%{transform:translateX(0) rotate(0)}93%{transform:translateX(-2px) rotate(-5deg)}95%{transform:translateX(2px) rotate(5deg)}97%{transform:translateX(-2px) rotate(-3deg)}}
@keyframes moon-glow{0%,100%{opacity:.88;transform:rotate(-5deg)}50%{opacity:1;transform:rotate(6deg)}}
@keyframes alarm-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.13);opacity:.84}}
@keyframes rotate-slow{to{transform:rotate(360deg)}}
@media(max-width:700px){.weather-box{padding:15px;gap:9px;flex-wrap:wrap}.weather-icon{font-size:32px;width:40px}.weather-copy>strong{font-size:21px}.weather-box button{margin-left:auto}.v6-forms{grid-template-columns:1fr}.v6-span-2{grid-column:auto}.v6-tools{padding:15px}.repeat-item{flex-wrap:wrap}.v6-weather-form{flex-direction:column;align-items:stretch}.feature-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion: reduce){.moon-live,.heart-live,.vibrate-live,.alarm-live,.panic-live,.repeat-live{animation:none!important}}

.hero-panic{background:#df4764;border-color:#e96a85;color:white;box-shadow:0 8px 26px #d9305f55}.hero-panic:hover{background:#ec5e7b}

/* V7 — correcoes de navegacao e vida visual. Paleta oficial V6 preservada. */
html,body,.app-shell,.main-wrap{min-width:0}
.main-content{width:100%;max-width:none;padding:27px clamp(14px,2.3vw,40px) 55px}
.topbar,.main-footer{padding-left:clamp(14px,2.3vw,40px);padding-right:clamp(14px,2.3vw,40px)}
.sidebar{height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#3d596c #0d1726;overscroll-behavior:contain;padding-top:18px}
.side-brand{margin-bottom:24px}
.sidebar nav{gap:2px;flex-shrink:0}
.nav-link{min-height:40px;height:auto;padding:8px 11px;line-height:1.25;gap:11px}
.tools-title{margin-top:16px}
.side-bottom{margin-top:20px}
.mini-pulse{margin-bottom:10px}
.nav-icon,.nav-icon svg{font-size:25px;width:25px;height:25px;min-width:25px;display:grid;place-items:center}
.nav-link[data-view="dashboard"] .nav-icon{color:#6fe8da}
.nav-link[data-view="watches"] .nav-icon{color:#71cafb}
.nav-link[data-view="groups"] .nav-icon{color:#ffcb81}
.nav-link[data-view="heart"] .nav-icon{color:#ff6983}
.nav-link[data-view="locate"] .nav-icon{color:#67eade}
.nav-link[data-view="messages"] .nav-icon{color:#76aeff}
.nav-link[data-view="sleep"] .nav-icon{color:#bfa9ff}
.nav-link[data-view="sports"] .nav-icon{color:#81d5ff}
.nav-link[data-view="alarm"] .nav-icon{color:#ffc46e}
.nav-link[data-view="panic"] .nav-icon{color:#ff668d}
.nav-link[data-view="reset"] .nav-icon{color:#ff929a}
.nav-link[data-view="repetitions"] .nav-icon{color:#c5a5ff}
.nav-link[data-view="activity"] .nav-icon{color:#82d9e5}
.nav-link[data-view="settings"] .nav-icon{color:#91a8ff}
.nav-link.active .nav-icon{filter:brightness(1.15) drop-shadow(0 0 6px currentColor)}
.heart-live{font-size:1.38em;animation:heart-v7 1.65s ease-in-out infinite;transform-origin:center;filter:drop-shadow(0 0 11px #ff647b80)}
.vibrate-live{animation:vibrate-v7 2.8s ease-in-out infinite;transform-origin:center}
.moon-live{animation:moon-v7 5.2s ease-in-out infinite}
.alarm-live{animation:alarm-pulse 2.7s ease-in-out infinite}
.panic-live{animation:alarm-pulse 2.8s ease-in-out infinite}
.feature-shortcuts span{font-size:34px;min-height:40px;display:inline-grid;place-items:center;align-self:start}
.feature-shortcuts .heart-live{font-size:40px}
.grid-panel-head h2 .heart-live,.grid-panel-head h2 .vibrate-live,.grid-panel-head h2 .moon-live,.grid-panel-head h2 .alarm-live{font-size:32px;vertical-align:middle}
.hero-illustration{right:4%;top:14px;animation:hero-watch-v7 14s ease-in-out infinite}
.grid-compose .grid-bottom{flex-direction:column;align-items:stretch;gap:11px;margin-top:15px}
.grid-compose .grid-bottom button{width:100%;min-height:49px;font-size:14px}
.panic-panel{border-color:#854058;background:linear-gradient(160deg,#341d35,#111b2b)}
.panic-action{width:100%;min-height:67px;margin-top:19px;font-size:16px;letter-spacing:.5px;background:linear-gradient(110deg,#e5466d,#f47589);color:#fff;box-shadow:0 10px 28px #d3355960}
.panic-action .panic-live{width:31px;height:31px;font-size:19px;color:#fff!important;background:#a51d41}
.api-version-warning{display:flex;align-items:center;flex-wrap:wrap;gap:13px;border:1px solid #ad7547;background:#3b2931;color:#ffddae;padding:14px 19px;border-radius:14px;margin-bottom:20px;font-size:12px;line-height:1.7}
.api-version-warning strong{font-size:13px}.api-version-warning span{flex:1;min-width:230px}.api-version-warning button{color:#fbd9b4;border-color:#9b7659}
@keyframes heart-v7{0%,100%{transform:scale(1)}12%{transform:scale(1.24)}23%{transform:scale(.96)}38%{transform:scale(1.19)}54%{transform:scale(1)}}
@keyframes vibrate-v7{0%,84%,100%{transform:translateX(0) rotate(0)}87%{transform:translateX(-1.5px) rotate(-3deg)}90%{transform:translateX(1.5px) rotate(3deg)}93%{transform:translateX(-1px) rotate(-2deg)}96%{transform:translateX(0)}}
@keyframes moon-v7{0%,100%{opacity:.85;transform:rotate(-8deg);filter:drop-shadow(0 0 5px #b4a5ff48)}50%{opacity:1;transform:rotate(5deg);filter:drop-shadow(0 0 12px #b4a5ff85)}}
@keyframes hero-watch-v7{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(7px) rotate(-6deg)}}
.is-vibrating .vibrate-live{animation:vibrate-soft .22s linear infinite}
.is-measuring .heart-live{animation:heart-v7 1.15s ease-in-out infinite}
@media(max-height:740px){.mini-pulse{display:none}.sidebar{padding-top:12px}.side-brand{margin-bottom:15px}.nav-link{min-height:37px}}
@media(max-width:760px){.main-content{padding:22px 14px 42px}.sidebar{width:min(290px,86vw)}.hero-illustration{display:none}}
@media(prefers-reduced-motion:reduce){.hero-illustration,.heart-live,.vibrate-live,.moon-live{animation:none!important}}


/* V8 — polimento visual. Paleta Conrad Watch original preservada. */
/* Home: ações separadas, mesma importância visual e nenhuma tecla branca isolada. */
.hero-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:13px;margin-top:23px}
.hero-action{border:1px solid transparent;border-radius:13px;padding:11px 18px;min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:800;line-height:1.25;transition:transform .18s ease, box-shadow .18s ease, filter .18s ease}
.hero-action:hover{transform:translateY(-2px);filter:brightness(1.11)}
.hero-action-icon{font-size:18px;min-width:22px;text-align:center;display:inline-block}
.hero-action-message{color:#dcf4ff;background:linear-gradient(130deg,#235271,#193c59);border-color:#407493;box-shadow:0 7px 20px #071d2a55}
.hero-action-heart{color:#ffbac9;background:linear-gradient(135deg,#543048,#312339);border-color:#9a5678;box-shadow:0 7px 20px #270e2255}
.hero-action-heart .heart-live{font-size:21px!important;color:#ff6b91!important}
.hero-action-panic{color:#fff4f8;background:linear-gradient(110deg,#d64169,#e75f79);border-color:#f58a9c;box-shadow:0 8px 23px #d9305c59}
.hero-action-panic .hero-action-icon{width:23px;height:23px;border:2px solid #ffffffbd;border-radius:50%;display:grid;place-items:center;font-weight:950;font-size:14px}
/* Menu cardíaco um quinto maior; ícones vivos, sem sobreposição de tamanho. */
.nav-link[data-view="heart"] .nav-icon{font-size:30px;width:30px;min-width:30px;height:30px}
.nav-link[data-view="heart"] .heart-live{font-size:30px;display:inline-block}
.nav-link[data-view="dashboard"] .nav-icon{color:#69e8d9}
.nav-link[data-view="activity"] .nav-icon{color:#7ccded}
/* Clima vetorial colorido e iluminado; mantém a consulta meteorológica existente. */
.weather-box{border-color:#3c6580;background:radial-gradient(circle at 5% 40%,#28667c70,transparent 25%),linear-gradient(110deg,#143e50,#1c3551 53%,#112337);gap:18px}
.weather-box.weather-rainy{background:radial-gradient(circle at 5% 50%,#28497e80,transparent 30%),linear-gradient(110deg,#122c47,#243655 58%,#111d34)}
.weather-icon{width:97px;min-width:97px;display:grid;place-items:center;padding:5px 0;filter:drop-shadow(0 5px 12px #12324b88);animation:weather-bob 6.5s ease-in-out infinite}
.weather-art-svg{display:block;width:88px;height:78px;overflow:visible;filter:drop-shadow(0 4px 8px #030b1680)}
.weather-art-svg .weather-sun{filter:drop-shadow(0 0 9px #ffbc61c8)}
.weather-art-svg .weather-cloud-shape{filter:drop-shadow(0 2px 5px #76b9e766)}
.weather-copy>span{color:#9edbfc}.weather-copy>strong{color:#ffffff}.weather-copy>strong small{color:#a6e3f2}
.weather-box .btn{border-color:#4c758e;color:#c9f4fb}
@keyframes weather-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
/* Medição: a mensagem de solicitação é visual, não uma confirmação física. */
.command-visual-feedback{position:fixed;right:22px;bottom:22px;z-index:55;display:flex;align-items:center;gap:18px;width:min(420px,calc(100vw - 28px));padding:18px 22px;background:linear-gradient(115deg,#27172b,#192039);border:1px solid #b64a6e;border-radius:20px;box-shadow:0 20px 60px #0008,0 0 0 4px #e8495b16;pointer-events:none;animation:visual-slide .24s ease both}
.feedback-vibrate{background:linear-gradient(115deg,#102f39,#162c3c);border-color:#48b6b0}
.feedback-symbol{display:grid;place-items:center;min-width:62px;height:62px;font-size:54px!important;line-height:1;color:#ff718f!important;filter:drop-shadow(0 0 12px #f45c8388)}
.feedback-vibrate .feedback-symbol{color:var(--mint)!important}
.command-visual-feedback strong{font-size:15px;display:block;color:#f3f7ff;margin-bottom:6px}
.command-visual-feedback small{display:block;font-size:11px;color:#c7acbc;line-height:1.5}
.feedback-vibrate small{color:#a8d6dd}
.is-measuring .command-visual-feedback .feedback-symbol{animation:heart-v8-active 1.1s ease-in-out infinite}
@keyframes visual-slide{from{transform:translateY(18px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes heart-v8-active{0%,100%{transform:scale(1)}16%{transform:scale(1.35)}29%{transform:scale(.93)}43%{transform:scale(1.25)}64%{transform:scale(1)}}
/* Grade cardíaca: FC, pressão e SpO2 em componentes legíveis. */
.reading-heart{display:flex;align-items:center;gap:7px;color:#ffc1cb;white-space:nowrap}
.reading-heart .heart-live{font-size:26px;color:#ff6984!important}
.reading-heart strong{font-size:21px;font-weight:850;font-variant-numeric:tabular-nums;color:#f5f8ff}
.reading-heart small{font-size:10px;color:#f3abbc}
.health-metrics{display:flex;gap:8px;flex-wrap:wrap;align-items:stretch;min-width:215px}
.health-chip{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid transparent;border-radius:11px;min-width:111px}
.pressure-chip{background:#47301e78;border-color:#9670428c;color:#ffcb8b}
.oxygen-chip{background:#153b537d;border-color:#3a7da68c;color:#8fdaff}
.health-chip-symbol{font-size:18px;font-weight:900;line-height:1}
.health-chip-text{display:flex;flex-direction:column;gap:2px}
.health-chip-text small{font-size:8px;line-height:1.2;letter-spacing:.05px;white-space:nowrap;color:#cdd9e6}
.health-chip-text strong{font-size:13px;line-height:1.1;white-space:nowrap;color:#ffffff;font-variant-numeric:tabular-nums}
.health-chip-text em{font-style:normal;font-weight:600;font-size:9px;color:#bfd1df}
.records-grid .grid-extras{max-width:none}
.records-grid td .health-metrics{min-width:235px}
.history-health-line{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.health-metrics-compact .health-chip{padding:6px 8px;min-width:95px}
.health-metrics-compact .health-chip-text small{font-size:8px}
.health-metrics-compact .health-chip-text strong{font-size:11px}
/* Primeiro bloco do detalhe: ações remotas, acima das notas. */
.detail-remote-card{background:linear-gradient(155deg,#19334a,#112439);border-color:#376375}
.detail-remote-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px}
.detail-remote-heading h3{font-size:17px;margin-bottom:8px}
.remote-hint{color:#8fe3df;font-size:10px;font-weight:750}
.detail-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0}
.detail-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-height:92px;padding:12px 8px;border-radius:13px;border:1px solid #466076;background:#13263b;color:#dbe9f5;transition:.17s}
.detail-quick-action:hover{transform:translateY(-2px);filter:brightness(1.1)}
.detail-quick-action span{font-size:31px;line-height:1.1}
.detail-quick-action b{font-size:11px}
.quick-heart{background:linear-gradient(135deg,#40273c,#1a2537);border-color:#704354}
.quick-vibrate{background:linear-gradient(135deg,#163c42,#16293b);border-color:#377e7c}
.quick-sleep{background:linear-gradient(135deg,#292546,#1b253c);border-color:#494574;color:#dcd5ff}
.quick-sport{background:linear-gradient(135deg,#193954,#18253b);border-color:#3c5c88;color:#d7f2ff}
.notes-panel{margin-top:17px}
/* Relógio da Home: 50% menos velocidade e no alto à direita. */
.hero-illustration{right:3.2%;top:9px;animation:hero-watch-v7 28s ease-in-out infinite}
@media(max-width:850px){.hero-actions{gap:9px}.hero-action{padding:10px 12px}.hero-illustration{opacity:.5}}
@media(max-width:700px){.hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hero-action-panic{grid-column:1/-1}.hero-action{font-size:11px;min-height:49px}.weather-icon{width:62px;min-width:62px}.weather-art-svg{width:61px;height:57px}.weather-box{gap:11px}.weather-copy>strong{font-size:22px}.health-metrics{min-width:0}.command-visual-feedback{right:14px;bottom:14px;padding:13px 16px;gap:12px}.feedback-symbol{font-size:43px!important;min-width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.hero-illustration,.weather-icon,.command-visual-feedback,.command-visual-feedback .feedback-symbol{animation:none!important}}

/* Conrad Watch V9 — polimento, reduzindo estímulos e preservando a paleta base. */
/* Em repouso, corações ficam estáticos. Só pulsam lentamente durante uma medição. */
.heart-live,.nav-link[data-view="heart"] .heart-live,.reading-heart .heart-live,
.feature-shortcuts .heart-live,.hero-action-heart .heart-live{animation:none!important}
.is-measuring .command-visual-feedback .heart-live,
.is-measuring .feedback-symbol.heart-live{animation:heart-v9-calm 2.65s ease-in-out infinite!important}
@keyframes heart-v9-calm{0%,100%{transform:scale(1)}12%{transform:scale(1.11)}23%{transform:scale(.99)}36%{transform:scale(1.08)}53%,95%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.is-measuring .command-visual-feedback .heart-live{animation:none!important}}
.reading-heart strong,.heartbeat-box:nth-child(2) strong{color:#ff7895!important}
.heartbeat-box:nth-child(3) strong{color:#ffca8e!important}
.heartbeat-box:nth-child(4) strong{color:#8fd7ff!important}
.heartbeat-box:nth-child(1) strong{color:#79e6dc!important}
.metric-primary.color-blue{color:#6cc5ff!important}
.sleep-summary strong{color:#c6baff}
.person-avatar,.large-watch-symbol,.detail-avatar,.watch-symbol{overflow:hidden}
.watch-photo{display:block;height:100%;width:100%;object-fit:cover;border-radius:inherit}
.detail-avatar .watch-photo{border-radius:18px}
.watch-manage-panel{margin-top:17px}
.watch-manage-actions{display:flex;flex-wrap:wrap;gap:11px}
.v9-panic-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 6px}
.v9-panic-options select,.v9-panic-options input{min-height:47px;width:100%;color:var(--text);background:#131e34;border:1px solid #52455a;border-radius:12px;padding:10px 13px}
.panic-active-list{margin:20px 0;padding:15px;border:1px solid #e25b83;background:#361e37;border-radius:13px}
.panic-active-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.panic-active-list b{color:#ffc2d0}
/* Popups próprios, com teclado e foco, substituem janelas nativas antiquadas. */
.cw-decision-dialog{color:#eaf4ff;background:linear-gradient(145deg,#1a2c43,#101b2d);border:1px solid #4c7287;border-radius:22px;padding:26px;max-width:min(510px,calc(100vw - 30px));width:100%;box-shadow:0 30px 110px #000b;outline:0}
.cw-decision-dialog::backdrop{background:#030b17cc;backdrop-filter:blur(5px)}
.cw-decision-top{display:flex;align-items:flex-start;gap:17px}
.cw-decision-icon{height:52px;width:52px;display:grid;place-items:center;flex-shrink:0;font-size:23px;font-weight:900;border-radius:16px;color:#b4fff5;background:#204b52;border:1px solid #3e9c91}
.cw-decision-icon.danger{color:#ffbbca;background:#48253d;border-color:#a74c6d}
.cw-decision-top h2{font-size:21px;line-height:1.3;margin:2px 0 9px}
.cw-decision-top p{font-size:13px;line-height:1.6;color:#b2c6dc;margin:0}
.cw-decision-input{display:block;margin:21px 0}
.cw-decision-input input{width:100%;height:45px;margin-top:9px;border:1px solid #4b6980;background:#0e1c2e;color:#eaf4ff;border-radius:10px;padding:10px}
.cw-decision-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:25px}
.cw-decision-actions .btn{min-width:122px;min-height:45px}
.cw-decision-actions .btn-danger{background:#ca4664;color:white;border-color:#e56881}
.command-visual-feedback{width:min(465px,calc(100vw - 28px));min-height:105px;pointer-events:none;border-color:#945d7b}
.command-visual-feedback.feedback-failed{border-color:#d97070;background:linear-gradient(115deg,#402333,#1a243a)}
.command-visual-feedback .feedback-symbol{font-size:58px!important;min-width:67px}
.command-visual-feedback small{font-size:12px;line-height:1.55;color:#e5becd}
@media(max-width:700px){.v9-panic-options{grid-template-columns:1fr}.cw-decision-dialog{padding:19px}.cw-decision-actions .btn{flex:1}}

/* V10 - links do produto e catalogo: conservam a paleta Conrad */
.store-teaser{display:inline-flex;gap:12px;align-items:center;margin-top:28px;padding:12px 17px;border-radius:14px;border:1px solid #69daca88;background:#123745bf;color:#b7fff5;font-weight:800;font-size:12px;box-shadow:0 12px 26px #0002}
.store-teaser span{font-size:18px;color:var(--mint)}.store-teaser:hover{background:#205065}
.public-links,.portal-contact-links{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-top:15px}
.public-links a{font-size:11px;color:#a9c9d7;border-bottom:1px solid #6ce3d85c}
.public-identity{margin-top:9px;color:#71899a;font-size:10px}
.location-demo{padding:20px;overflow:hidden}.location-demo iframe{display:block;width:100%;height:460px;max-height:62vh;border:1px solid var(--line);border-radius:15px;background:#102334}
.location-note h2{margin:9px 0 4px}.location-note p{margin-bottom:18px;color:var(--muted)}.demo-tag{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#ffca79}
.model-row{padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.model-row:last-child{border-bottom:0}.model-row b,.model-row small{display:block}.model-row small{margin-top:5px;color:var(--muted)}
.watch-manage-actions,.detail-quick-actions{display:flex;flex-wrap:wrap;gap:12px}.watch-manage-actions .btn,.detail-quick-actions .btn{min-height:42px;min-width:148px;justify-content:center}
.main-footer a:hover,.settings-card a:hover{color:var(--mint)}
@media(max-width:640px){.store-teaser{max-width:100%}.location-demo iframe{height:350px}.model-row{align-items:flex-start}}

/* V11 — cartões completos de pessoa, sem alterar a paleta Conrad. */
.large-watch-card{min-height:305px;display:flex;flex-direction:column;gap:14px}
.large-watch-code{line-height:1.65;overflow-wrap:anywhere}
.watch-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.watch-contact-field{min-width:0;padding:10px 11px;background:#12293b;border:1px solid #29465b;border-radius:11px}
.watch-contact-field span{display:block;font-size:10px;color:#85aebf;margin-bottom:5px;font-weight:650}
.watch-contact-field b{display:block;color:#e3f5ff;font-size:12px;line-height:1.45;overflow-wrap:anywhere;font-weight:730}
.watch-contact-note{border-left:3px solid #55dccc;padding:8px 12px;background:#122e3b;border-radius:0 11px 11px 0;margin:6px 0}
.watch-contact-note>span{display:block;font-size:9px;letter-spacing:.1em;color:#7adfd7;font-weight:800}
.watch-contact-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5;max-height:4.5em;overflow:hidden;color:#d5e9f2;margin:6px 0 0}
.contact-empty{color:#8da7b6;font-size:11px;line-height:1.5;padding:8px}
.large-watch-bottom{margin-top:auto}
.watch-profile-panel{margin-top:16px;border-color:#2b6874;background:linear-gradient(145deg,#162a3d,#122237)}
.contact-form .form-field{margin-bottom:13px}
.contact-form .form-field textarea{width:100%;background:#0e1e2d;border:1px solid #33516b;color:#e9f4ff;border-radius:10px;min-height:85px;padding:12px;font:inherit;resize:vertical;margin-top:8px}
.contact-form-double{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-form .required{color:#ffca8e}
.profile-form-divider{font-size:11px;font-weight:800;letter-spacing:.055em;color:#75e2d9;border-bottom:1px solid #355369;padding:11px 0 9px;margin:10px 0 17px}
@media(max-width:760px){.watch-contact-grid{grid-template-columns:1fr 1fr}.large-watch-card{min-height:unset}}
@media(max-width:440px){.watch-contact-grid,.contact-form-double{grid-template-columns:1fr}}

/* Cartões de contatos: aproveitam melhor a largura do painel */
.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
@media(max-width:980px){.people-grid{grid-template-columns:1fr}}


/* V12 - uniformidade visual e densidade de informações, sem alterar o tema Conrad. */
/* Todos os atalhos individuais do WATCH usam o mesmo espaço e a base do botão Vibrar. */
.detail-quick-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
.detail-quick-actions .detail-quick-action{width:100%;min-width:0;min-height:114px;max-width:none;padding:12px 9px;justify-content:center;
    background:linear-gradient(135deg,#163c42,#16293b)!important;border:1px solid #377e7c!important;color:#dbe9f5!important;
    box-sizing:border-box}
.detail-quick-action .heart-live{color:#ff7595}.detail-quick-action .vibrate-live{color:#6ce9e1}
.detail-quick-action .moon-live{color:#baa9ff}.detail-quick-action .sport-live{color:#ffb85e}
.detail-quick-actions .detail-quick-action b{font-size:12px;line-height:1.45}
/* A fileira Foto / Renomear / Vibrar / Mensagens / Central recebe mesmo fundo, tamanho e espaçamento. */
.detail-action-list{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;margin:0 0 16px}
.detail-action-list .btn{width:100%!important;min-width:0!important;min-height:46px!important;max-width:none!important;
    display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 9px!important;
    background:#1b394d!important;border:1px solid #315973!important;color:#e2f4fd!important;
    font-weight:800;line-height:1.35;box-sizing:border-box}
.detail-action-list .btn:hover,.detail-action-list .btn:focus-visible{background:#235168!important;border-color:#61dace!important}
/* Quatro cards por linha em telas largas; informação opcional compacta, sem ocultar dados. */
.people-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px;align-items:stretch}
.people-grid .large-watch-card{min-height:0!important;max-width:none;padding:14px!important;gap:7px!important;border-radius:16px;overflow:hidden}
.people-grid .large-watch-header{align-items:center;gap:8px}
.people-grid .large-watch-symbol{width:39px;height:39px;min-width:39px;margin:0;border-radius:11px}
.people-grid .large-watch-name{font-size:13px;margin:0 0 2px}
.people-grid .large-watch-code{font-size:10px;line-height:1.35}
.people-grid .watch-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:3px 0}
.people-grid .watch-contact-field{padding:6px 7px;border-radius:8px;min-width:0}
.people-grid .watch-contact-field span{font-size:9px;margin:0 0 3px}
.people-grid .watch-contact-field b{font-size:10px;line-height:1.2}
.people-grid .watch-contact-note{padding:5px 8px;margin:2px 0;border-radius:0 8px 8px 0}
.people-grid .watch-contact-note>span{font-size:8px}
.people-grid .watch-contact-note p{font-size:9px;line-height:1.25;margin:2px 0 0;max-height:2.5em}
.people-grid .large-watch-bottom{font-size:9px;padding-top:3px}
.people-grid .contact-empty{font-size:10px;padding:5px 0}
@media(max-width:1279px){.people-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1110px){.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.detail-action-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.people-grid{grid-template-columns:1fr!important}.detail-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.detail-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-action-list .btn{min-height:45px!important}}
@media(min-width:1501px){.people-grid .large-watch-card{min-height:0!important}}

/* V12 - atalhos em faixa própria, não comprimidos ao lado do nome. */
.device-detail-top{grid-template-columns:minmax(0,1fr)!important;align-items:stretch}

/* ==============================================================
   V14 — identidade visual unificada / página individual premium
   Apenas apresentação. As ações continuam nos endpoints existentes.
   ============================================================== */
:root{
  --cw-glass:linear-gradient(145deg,#142940 0%,#0e2033 70%,#0c1b2c 100%);
  --cw-panel-border:#31526b;
  --cw-electric:#70eee3;
}
.main-wrap{background:radial-gradient(circle at 64% -6%,#114c6338,transparent 48%),#07121f}
.main-content{max-width:2100px;margin:0 auto}
.card,.grid-panel,.group-card,.settings-card,.panel{
  border-color:#28455d;
  box-shadow:0 12px 30px #010a1426;
}
.page-heading h1{letter-spacing:-.035em}
.page-heading .eyebrow{color:#75ecdf}
.grid-panel-head h2,.grid-compose h2,.section-label{letter-spacing:-.025em}
.feature-shortcuts button,.stat,.group-card,.watch-card{
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.feature-shortcuts button:hover,.group-card:hover,.watch-card:hover{
  transform:translateY(-2px);border-color:#4e8499;box-shadow:0 12px 30px #00121b48;
}
/* Estrutura responsiva: o cabeçalho ocupa a largura; as ações pessoais
   ficam ACIMA do painel de ações remotas na coluna direita. */
.cw-v14-detail{--cw-gap:20px;max-width:100%}
.cw-v14-detail .detail-back{margin:0 0 17px;font-size:12px;color:#aac5d8}
.cw-v14-detail .device-detail-top{display:flex!important;margin-bottom:20px;align-items:center;gap:16px}
.cw-v14-detail .device-heading-inner{min-width:0}
.cw-v14-detail .detail-avatar{width:72px;height:72px;border-radius:20px;box-shadow:0 4px 20px #3bdfd52b}
.cw-v14-detail .device-heading-inner h1{font-size:28px;letter-spacing:-.6px}
.cw-detail-layout{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(370px,.95fr)!important;align-items:start;gap:var(--cw-gap)}
.cw-detail-main,.cw-detail-side{min-width:0;display:flex;flex-direction:column;gap:15px}
.cw-v14-detail .cw-info-card,.cw-v14-detail .cw-remote-card,.cw-v14-detail .watch-profile-panel,.cw-v14-detail .notes-panel,.cw-v14-detail .watch-manage-panel{
  margin:0!important;background:var(--cw-glass);border:1px solid var(--cw-panel-border);border-radius:20px;
}
.cw-v14-detail .cw-info-card{padding:21px 22px}
.cw-v14-detail .cw-card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:19px}
.cw-v14-detail .cw-heading-label{display:flex;align-items:center;gap:13px;min-width:0}
.cw-v14-detail .cw-card-heading h3,.cw-v14-detail .cw-remote-card h3{font-size:19px;font-weight:800;line-height:1.25;margin:0 0 4px}
.cw-v14-detail .cw-card-heading p{color:#a9bfd1;font-size:11px;margin:0;line-height:1.55}
.cw-v14-detail .cw-heading-icon{height:42px;width:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#15445655}
.cw-v14-detail .cw-line-icon{display:block;flex:none}
.cw-heart-color{color:#ff7595!important;filter:drop-shadow(0 0 8px #f55b8390)}
.cw-contact-color{color:#79c2d8!important}
.cw-pressure-color{color:#ffbb70!important;filter:drop-shadow(0 0 7px #ffaa6252)}
.cw-oxygen-color{color:#56cfff!important;filter:drop-shadow(0 0 7px #52c9fd5a)}
.cw-activity-color,.cw-distance-color{color:#5ce9e1!important}
.cw-calorie-color{color:#ffb761!important;filter:drop-shadow(0 0 7px #ffaa6170)}
.cw-sleep-color{color:#c4afff!important;filter:drop-shadow(0 0 8px #aa91ff8c)}
.cw-alarm-color{color:#70f0e1!important}
.cw-v14-detail .cw-card-heading .text-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
/* Cardíaco: quatro dados verdadeiros, sem inferir conexão BLE. */
.cw-health-row{display:grid;grid-template-columns:minmax(145px,.88fr) repeat(3,minmax(0,1fr));gap:10px}
.cw-health-metric{min-width:0;display:flex;align-items:flex-start;gap:11px;border:1px solid #35566b;border-radius:15px;padding:13px 12px;background:#0c1d30;min-height:121px}
.cw-health-metric .cw-metric-icon{margin-top:5px;min-width:29px}
.cw-health-metric>div{min-width:0}
.cw-health-metric .info-label{display:block;line-height:1.5;letter-spacing:.65px;font-size:9px;color:#b9c9da;min-height:26px}
.cw-health-metric strong{font-size:20px;letter-spacing:-.6px;display:block;margin:5px 0;white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-health-metric strong small{font-size:11px;font-weight:600}
.cw-health-metric>div>small{color:#9cb1c5;font-size:9px;line-height:1.5;display:block}
.cw-contact-metric{background:#0c2332}.cw-contact-metric .cw-online{color:#62e5d7;font-size:18px}.cw-contact-metric .cw-offline{color:#abb7c6;font-size:17px}
.cw-heart-metric{background:linear-gradient(135deg,#382839,#142339);border-color:#76506b}.cw-heart-metric strong{color:#ff799b}
.cw-pressure-metric{background:linear-gradient(130deg,#2b2a2a,#162538);border-color:#71533e}.cw-pressure-metric strong{color:#ffc181}
.cw-oxygen-metric{background:linear-gradient(135deg,#11334b,#11243b);border-color:#315e79}.cw-oxygen-metric strong{color:#64d0ff}
.cw-health-disclaimer{margin:13px 0 0;font-size:9px;color:#a9b9ca;line-height:1.65}
/* Atividade: passo / energia / distância com grupos equilibrados. */
.cw-activity-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #31536b;border-radius:15px;background:linear-gradient(180deg,#0a1a2c,#102c3a);overflow:hidden;min-height:86px}
.cw-activity-metric{display:flex;gap:10px;align-items:center;justify-content:center;padding:16px 10px;position:relative;min-width:0}
.cw-activity-metric:not(:last-child):after{content:"";height:50%;width:1px;background:#37556d;position:absolute;right:0;top:25%}
.cw-activity-metric strong{font-size:24px;letter-spacing:-.7px;font-variant-numeric:tabular-nums;color:#6ce4fa}
.cw-activity-metric:nth-child(2) strong{color:#ffc17d}
.cw-activity-metric span:last-child{font-size:11px;color:#b3c5d6;margin-left:-5px}
.cw-metric-foot{color:#89a6ba;font-size:10px;margin:10px 2px 0;line-height:1.5}
/* Sono: destaque contido e metadados reais. */
.cw-sleep-content{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(0,1.4fr) auto;align-items:center;gap:15px;padding:17px;border:1px solid #413d6d;border-radius:15px;background:radial-gradient(circle at 12% 120%,#715dc04a,transparent 55%),linear-gradient(120deg,#202a51,#111f39)}
.cw-sleep-duration{font-size:28px;letter-spacing:-.6px;font-weight:800;color:#c6b3ff;white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-sleep-meta{display:grid;gap:8px;font-size:10px;color:#c0cee3}
.cw-sleep-meta>div{display:flex;align-items:center;gap:9px}
.cw-sleep-meta svg{color:#a2c8e1}
.cw-sleep-content .btn{white-space:nowrap}
/* Alarmes: histórico registrado — não simular status ligado/desligado. */
.cw-alarms-list{display:flex;flex-wrap:wrap;gap:11px;align-items:center;min-height:57px}
.cw-alarm-chip{display:flex;align-items:center;gap:11px;background:linear-gradient(135deg,#193a4c,#10273a);border:1px solid #35667b;border-radius:13px;padding:11px 14px;min-width:142px}
.cw-alarm-chip>svg{color:#62e5d6}
.cw-alarm-chip strong{display:block;font-size:20px;line-height:1.1;font-variant-numeric:tabular-nums}
.cw-alarm-chip small{display:block;color:#8ba9bd;font-size:9px;margin-top:4px}
.cw-empty-alarms{color:#91a8bb;font-size:11px}
/* Faixa com 5 botões agora pertence à coluna direita e antecede Ações remotas. */
.cw-v14-detail .cw-detail-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:100%;margin:0!important}
.cw-v14-detail .cw-detail-toolbar .btn{width:100%!important;min-width:0!important;max-width:none!important;min-height:60px!important;height:100%;display:flex;flex-direction:column;gap:6px!important;padding:8px 7px!important;text-align:center;white-space:normal;font-size:10px;line-height:1.25;background:linear-gradient(145deg,#19374a,#152c40)!important;border:1px solid #38617a!important;color:#e1f2fb!important}
.cw-v14-detail .cw-detail-toolbar .btn>svg{color:#92d7e9}
.cw-v14-detail .cw-detail-toolbar .btn:hover{border-color:#6ce2df!important;background:#21506b!important}
.cw-v14-detail .cw-remote-card{padding:20px}
.cw-v14-detail .detail-remote-heading{margin-bottom:5px}
.cw-v14-detail .detail-remote-heading h3{margin:0}
.cw-v14-detail .remote-hint{font-size:10px;white-space:nowrap;color:#71eddf}
.cw-v14-detail .detail-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin:17px 0!important}
.cw-v14-detail .detail-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0!important;min-height:120px!important;gap:12px;padding:14px 9px!important;background:linear-gradient(150deg,#193c53,#122a40)!important;border:1px solid #355d78!important;border-radius:17px;color:#e6f4fb!important}
.cw-v14-detail .detail-quick-action svg{display:block;width:40px;height:40px;filter:drop-shadow(0 0 10px currentColor)}
.cw-v14-detail .detail-quick-action b{font-size:12px;font-weight:800;line-height:1.35}
.cw-v14-detail .quick-heart svg{color:#ff789c}.cw-v14-detail .quick-vibrate svg{color:#6ce7e3}
.cw-v14-detail .quick-sleep svg{color:#bdabff}.cw-v14-detail .quick-sport svg{color:#70e3b3}
.cw-v14-detail .quick-alarm svg{color:#ffc077}.cw-v14-detail .quick-message svg{color:#79bbff}
.cw-v14-detail .detail-quick-action:hover{transform:translateY(-2px);filter:brightness(1.12)}
.cw-v14-detail .watch-profile-panel,.cw-v14-detail .notes-panel,.cw-v14-detail .watch-manage-panel{margin:0}
.cw-v14-detail .cw-history-card .activity-list{max-width:100%}
/* Layout global: a mesma hierarquia, borda, gradiente e destaque em cada menu. */
.grid-panel,.v6-tools,.settings-card,.group-card,.large-watch-card{
  background:linear-gradient(145deg,#14263c,#101d30);
  border-color:#2d4c65;
  border-radius:17px;
}
.grid-panel-head{background:linear-gradient(90deg,#142e41,#14263c)}
.grid-panel-head h2,.grid-compose h2,.settings-card h3{color:#edf6fe}
.grid-panel .records-grid thead th{color:#85c7d9}
.page-heading .page-actions .btn{border-radius:12px}
/* Em telas médias, a coluna de ações passa para baixo sem perder largura. */
@media(max-width:1600px) and (min-width:1181px){
 .cw-health-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1180px){
 .cw-detail-layout{grid-template-columns:minmax(0,1fr)!important}
 .cw-detail-side{display:grid;grid-template-columns:1fr 1fr;align-items:start}
 .cw-detail-toolbar,.cw-remote-card{grid-column:1/-1}
 .cw-health-row{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
 .cw-health-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cw-detail-side{display:flex}
 .cw-sleep-content{grid-template-columns:1fr 1.5fr}
 .cw-sleep-content .btn{grid-column:1/-1;justify-self:start}
}
@media(max-width:600px){
 .cw-v14-detail .cw-info-card{padding:15px 13px}
 .cw-v14-detail .cw-heading-label{gap:7px}
 .cw-v14-detail .cw-card-heading h3{font-size:16px}
 .cw-v14-detail .cw-card-heading p{font-size:10px}
 .cw-v14-detail .cw-health-row{grid-template-columns:1fr 1fr;gap:8px}
 .cw-v14-detail .cw-health-metric{padding:11px 9px;display:block;min-height:125px}
 .cw-v14-detail .cw-health-metric .cw-metric-icon{margin-bottom:7px}
 .cw-v14-detail .cw-health-metric .info-label{font-size:8px;min-height:21px}
 .cw-v14-detail .cw-health-metric strong{font-size:17px}
 .cw-activity-row{grid-template-columns:1fr 1fr}
 .cw-activity-metric:last-child{grid-column:1/-1;border-top:1px solid #31536b}
 .cw-activity-metric:nth-child(2):after{display:none}
 .cw-activity-metric strong{font-size:22px}
 .cw-sleep-content{grid-template-columns:1fr;gap:10px}
 .cw-sleep-content .btn{grid-column:1}
 .cw-v14-detail .cw-detail-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .cw-v14-detail .cw-detail-toolbar .btn{min-height:54px!important}
 .cw-v14-detail .detail-quick-action{min-height:100px!important}
 .cw-v14-detail .detail-quick-action b{font-size:10px}
 .cw-v14-detail .device-heading-inner h1{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
 .cw-v14-detail .cw-heading-icon svg,.cw-v14-detail .cw-line-icon{animation:none!important}
}

/* Conrad Watch V16 Fase 3 — administracao e atividades */
.cw-register-admin{margin:12px 0}
.cw-option-check{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;border:1px solid #315670;border-radius:14px;background:linear-gradient(135deg,#142d43,#132238);color:#dff0fa;cursor:pointer}
.cw-option-check input{flex-shrink:0;width:18px;height:18px;accent-color:#54d6ca;margin-top:2px}
.cw-option-check b{font-size:13px;display:block}
.cw-option-check small{display:block;font-size:11px;color:#9dbed2;line-height:1.5;margin-top:4px}
.cw-register-admin .form-field{margin:11px 0}
.cw-owner-consent{margin-top:18px}
.cw-admin-section{padding:22px}
.cw-admin-section h3{display:flex;align-items:center;gap:9px}
.cw-admin-email{display:block;color:#8ba9be;font-size:11px;margin-top:5px}
.cw-role{display:inline-block;padding:6px 10px;border:1px solid #34617a;border-radius:10px;color:#bee4f7;background:#1b3547;font-weight:650;font-size:11px}
.cw-role-admin{color:#fbd293;border-color:#846240;background:#40301f}
.cw-inline-check{padding:7px 10px;min-width:145px}
.cw-inline-check span{font-size:11px}
.cw-sharing-settings{margin-bottom:18px}
.cw-sharing-settings h3{display:flex;gap:9px;align-items:center}
.cw-sharing-settings .cw-option-check{max-width:650px}
.cw-activity-grid-metric,.cw-activity-grid-extras,.cw-activity-grid-extras span{display:flex;align-items:center;gap:8px}
.cw-activity-grid-metric{color:#5be5cd}
.cw-activity-grid-metric svg{flex:0 0 auto}
.cw-activity-grid-metric strong{font-size:21px;line-height:1.1;font-variant-numeric:tabular-nums}
.cw-activity-grid-metric small{display:block;font-size:10px;color:#98bcce}
.cw-activity-grid-extras{flex-wrap:wrap;gap:9px 15px}
.cw-activity-grid-extras span{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-distance{color:#72bbf6}
.cw-calories{color:#f6b26b}
@media(max-width:650px){.cw-admin-section{padding:13px}.cw-admin-table{min-width:650px}.cw-option-check{padding:11px}}

/* Conrad Watch V16 P4: estados operacionais explicitos, sem confundir BLE com API. */
.cw-bridge-panel{margin:16px 0 20px;padding:19px 20px;border:1px solid #2b5267;border-radius:16px;background:linear-gradient(120deg,#163449,#102537);color:#e2eff7;box-shadow:0 10px 28px #03111c22}
.cw-bridge-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px}
.cw-bridge-header h3{display:flex;align-items:center;gap:9px;font-size:1.05rem;margin:0 0 5px;font-weight:750}
.cw-bridge-header p,.cw-bridge-foot{font-size:.82rem;color:#9fb7c6;margin:0;line-height:1.55}
.cw-bridge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cw-bridge-item{min-width:0;padding:13px 12px;background:#0b2032aa;border-radius:12px;border:1px solid #2c4e604d;display:flex;flex-direction:column;gap:9px}
.cw-bridge-item small{font-size:.68rem;color:#86aec1;font-weight:750;letter-spacing:.055em}
.cw-bridge-badge{display:inline-flex;align-items:center;gap:7px;font-size:.83rem;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.cw-bridge-badge:before{content:"";display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#91aabd}
.cw-bridge-good:before{background:#59e0c1;box-shadow:0 0 7px #59e0c177}
.cw-bridge-warn:before{background:#f9bc6a}
.cw-bridge-neutral:before{background:#7898ad}
.cw-bridge-foot{margin-top:13px}
.cw-bridge-compact{padding:10px 9px;margin:8px 0 12px;border-radius:11px;box-shadow:none}
.cw-bridge-compact .cw-bridge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cw-bridge-compact .cw-bridge-item{padding:7px;background:transparent;border:none;gap:4px}
.cw-bridge-compact .cw-bridge-item small{font-size:.59rem}
.cw-bridge-compact .cw-bridge-badge{font-size:.72rem}
@media(max-width:850px){.cw-bridge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:470px){.cw-bridge-panel{padding:15px 12px}.cw-bridge-header{flex-wrap:wrap}.cw-bridge-grid{gap:7px}.cw-bridge-item{padding:10px 8px}.cw-bridge-badge{font-size:.73rem}}

/* V16.1: Sobre e suporte, mantendo a identidade do portal V15. */
.cw-about-intro{text-align:center;padding:36px 16px;display:flex;align-items:center;flex-direction:column;gap:10px}
.cw-about-intro img{width:min(150px,35vw);height:145px;object-fit:contain}
.cw-about-intro h2{font-size:clamp(25px,4vw,36px);margin:0}
.cw-about-intro p{margin:0;color:var(--muted,#8fa9b8)}
.cw-about-intro small{color:#64cecf}
.cw-contact-form,.cw-mail-settings-form{display:grid;gap:14px;max-width:790px}
.cw-contact-form textarea{min-height:146px;resize:vertical}
.cw-contact-form .btn{min-height:48px}
.cw-smtp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cw-smtp-actions{display:flex;gap:12px;flex-wrap:wrap}
.cw-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;height:0!important;width:0!important;pointer-events:none!important}
@media(max-width:640px){.cw-smtp-two{grid-template-columns:1fr}.cw-smtp-actions .btn{width:100%}}

/* Conrad Watch V18.7 — administração de contas e inventário global */
.cw-admin-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:280px}
.cw-admin-actions .btn{white-space:nowrap}
.cw-admin-actions .btn:disabled{opacity:.4;cursor:not-allowed}
.cw-role-active{border-color:#2b746b;background:#123c3f;color:#75e1cc}
.cw-role-inactive{border-color:#85585b;background:#3d252c;color:#ffadb7}
.cw-admin-watch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.cw-admin-watch-toolbar h3{margin:0;display:flex;align-items:center;gap:10px}
.cw-admin-user-filter{min-width:min(100%,310px);margin:0}
.cw-admin-user-filter select{max-width:100%}
.cw-admin-footnote{margin-top:15px;line-height:1.6}
@media(max-width:650px){.cw-admin-actions{min-width:235px}.cw-admin-user-filter{width:100%}}

/* V18.9 - identidade visual da conta única MASTER. */
.cw-role-master{background:rgba(255,194,82,.16)!important;border:1px solid rgba(255,194,82,.35)!important;color:#ffce74!important;}

/* V18.14 — home premium: substituição APENAS do mockup do WATCH no painel de acesso. */
.auth-watch-premium{
  position:absolute;
  right:-8%;
  top:19%;
  width:clamp(270px,30vw,430px);
  max-height:68vh;
  height:auto;
  object-fit:contain;
  z-index:1;
  opacity:.91;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(0 28px 42px rgba(0,0,0,.55));
}
@media(max-width:1050px){
  .auth-watch-premium{right:-100px;top:23%;width:370px;opacity:.26}
}
@media(max-width:760px){
  .auth-watch-premium{display:none}
}

/* Conrad Watch V18.15 — premium hero / área comercial ~70%, login ~30%.
   Alterações restritas ao portal público; autenticacao e painel intocados. */
@media (min-width:1101px) {
  .auth-screen {
    grid-template-columns:minmax(0,7fr) minmax(360px,3fr);
  }
}
.auth-left{
  background:
    linear-gradient(90deg,rgba(11,28,55,.31) 0%,rgba(9,25,46,.09) 46%,rgba(4,21,37,.10) 100%),
    url('/watch-energy-home.webp') 54% center / cover no-repeat,
    linear-gradient(135deg,#102b52,#061b2b 70%,#05252c);
  padding:clamp(28px,3vw,52px) clamp(35px,4.1vw,85px);
}
.auth-left::after{
  z-index:0;
  opacity:.31;
  pointer-events:none;
}
.auth-brand{
  position:relative;
  z-index:3;
}
.auth-story{
  position:relative;
  z-index:3;
  margin-top:clamp(94px,14vh,165px);
  max-width:min(54%,660px);
}
.auth-story h1{
  font-size:clamp(45px,3.6vw,78px);
  line-height:1.14;
  letter-spacing:-.048em;
  text-wrap:balance;
  text-shadow:0 2px 24px rgba(3,17,32,.3);
}
.auth-story p{
  max-width:440px;
}
.auth-watch-premium{
  display:block;
  position:absolute;
  width:clamp(320px,41%,660px);
  max-height:78vh;
  height:auto;
  right:1.7%;
  top:50%;
  transform:translateY(-48%);
  z-index:2;
  opacity:1;
  object-fit:contain;
  filter:drop-shadow(0 34px 46px rgba(0,4,15,.53));
  pointer-events:none;
  user-select:none;
}
.auth-footer{z-index:3}
.auth-right{
  padding:clamp(24px,2.5vw,42px);
}
.auth-panel{
  width:100%;
  max-width:440px;
}
.auth-panel h2{
  font-size:clamp(24px,2.25vw,35px);
  line-height:1.2;
}
.auth-panel .public-links{flex-wrap:wrap}
/* Notebooks e telas intermediárias: manter o formulário confortável, sem sufocar o hero. */
@media(min-width:1101px) and (max-width:1450px){
  .auth-screen{grid-template-columns:minmax(0, 65fr) minmax(355px,35fr)}
  .auth-left{padding-left:clamp(32px,3.8vw,57px);padding-right:25px}
  .auth-story{max-width:56%}
  .auth-story h1{font-size:clamp(46px,3.75vw,58px)}
  .auth-watch-premium{width:41%;right:-1.5%;max-height:70vh}
  .auth-right{padding:25px}
}
/* Tablet horizontal / janela estreita: vitrine primeiro, login depois. */
@media(max-width:1100px){
  .auth-screen{display:grid;grid-template-columns:1fr}
  .auth-left{
    display:block;
    min-height:510px;
    padding:34px clamp(28px,5vw,55px) 45px;
  }
  .auth-story{max-width:55%;margin-top:65px}
  .auth-story h1{font-size:clamp(43px,5vw,60px)}
  .auth-watch-premium{
    display:block;
    width:min(43%,430px);
    right:2%;
    top:52%;
    transform:translateY(-50%);
    max-height:400px;
    opacity:1;
  }
  .auth-footer{bottom:18px}
  .auth-right{min-height:unset;padding:58px 28px 72px}
  .auth-panel{max-width:520px}
  .auth-mobile-brand{display:none}
}
/* Celulares: manter marca e hero visíveis em vez de ocultar a vitrine por completo. */
@media(max-width:680px){
  .auth-left{
    display:block;
    min-height:420px;
    padding:24px 22px 34px;
    background-position:65% center;
  }
  .auth-brand{font-size:13px;letter-spacing:2px;gap:8px}
  .auth-brand .conrad-logo{width:34px;height:34px}
  .auth-story{
    max-width:80%;
    margin-top:49px;
  }
  .auth-story h1{
    font-size:clamp(35px,7.8vw,48px);
    line-height:1.11;
    letter-spacing:-.05em;
    margin:14px 0 13px;
  }
  .auth-story p{
    max-width:280px;
    font-size:12px;
    line-height:1.7;
  }
  .auth-story .eyebrow{font-size:9px;letter-spacing:1.3px}
  .auth-story .auth-tags{gap:6px;margin-top:13px}
  .auth-story .auth-tags span{padding:6px 9px;font-size:9px}
  .auth-watch-premium{
    display:block;
    width:min(53%,275px);
    max-height:310px;
    right:-7%;
    top:52%;
    opacity:.41;
    transform:translateY(-42%);
  }
  .auth-footer{bottom:13px;left:22px;font-size:9px}
  .auth-right{min-height:unset;padding:38px 22px 60px}
  .auth-panel{max-width:480px}
  .auth-panel h2{font-size:clamp(25px,5.5vw,32px)}
  .auth-tabs{margin-top:22px}
}
@media(max-width:400px){
  .auth-left{min-height:405px}
  .auth-story{max-width:95%}
  .auth-story h1{font-size:36px}
  .auth-story p{max-width:250px}
  .auth-watch-premium{right:-18%;opacity:.30}
}


/* V18.16 — portal de entrada sem rolagem em notebooks.
   Evita altura acumulada no grid, ajusta espacamento em login/cadastro.
   Cores e logica de autenticacao preservadas. */
/* O conjunto da marca no alto esquerdo aumenta ~40% (45->63px, 16->22.4px). */
.auth-brand{
  gap:17px;
  font-size:22.4px;
  letter-spacing:3.5px;
}
.auth-brand .conrad-logo{width:63px;height:63px}

/* Desktop/notebook: a janela inteira e o limite, nao uma altura minima expansivel. */
@media (min-width:1101px){
  .auth-screen{height:100vh;height:100dvh;min-height:0}
  .auth-left,.auth-right{min-height:0;min-width:0}
  .auth-left{padding-top:clamp(25px,4vh,44px);padding-bottom:clamp(20px,3vh,35px)}
  .auth-story{margin-top:clamp(40px,10vh,105px)}
  .auth-story h1{font-size:clamp(42px,3.5vw,74px);line-height:1.10;margin:15px 0 13px}
  .auth-story p{font-size:clamp(12px,1vw,15px);line-height:1.55;margin:0}
  .auth-story .auth-tags{margin-top:clamp(12px,2.3vh,20px)}
  .auth-footer{bottom:clamp(14px,2.7vh,28px)}
  .auth-right{padding:clamp(14px,2.6vh,27px) clamp(18px,1.9vw,36px)}
  .auth-panel h2{font-size:clamp(25px,2vw,33px);margin:9px 0 5px;line-height:1.2}
  .auth-panel>p{line-height:1.45;font-size:12px;margin:5px 0}
  .auth-tabs{margin:clamp(12px,2.5vh,21px) 0 clamp(11px,2.3vh,19px)}
  .auth-tabs button{padding:8px 14px}
  .auth-panel .form-field{margin-bottom:clamp(9px,1.6vh,15px)}
  .auth-panel .form-field input{margin-top:5px;min-height:43px;padding:9px 12px}
  .auth-panel .auth-submit{margin-top:4px;min-height:44px;padding:10px 16px}
  .auth-panel .auth-bottom{margin-top:13px;font-size:10.5px!important;line-height:1.5}
  .auth-panel .public-links{margin-top:12px;gap:7px 11px;line-height:1.35}
  .auth-panel .public-identity{margin-top:6px}
}
/* Notebooks compactos: menos respiro vertical, sem cortar entradas. */
@media (min-width:901px) and (max-height:740px){
  .auth-screen{height:100vh;height:100dvh;min-height:0}
  .auth-left,.auth-right{min-height:0}
  .auth-left{padding-top:clamp(17px,3.7vh,29px);padding-bottom:16px}
  .auth-brand{font-size:20px;gap:14px;letter-spacing:3px}
  .auth-brand .conrad-logo{width:58px;height:58px}
  .auth-story{margin-top:clamp(25px,7.5vh,53px)}
  .auth-story h1{font-size:clamp(38px,3.5vw,58px);line-height:1.08;margin:10px 0 9px}
  .auth-story p{font-size:12px;line-height:1.45}
  .auth-story .auth-tags{margin-top:10px;gap:7px}
  .auth-story .auth-tags span{padding:6px 10px;font-size:10px}
  .auth-footer{bottom:12px;font-size:10px}
  .auth-watch-premium{max-height:72vh}
  .auth-right{padding:12px 17px}
  .auth-label{font-size:10px}
  .auth-panel h2{font-size:clamp(23px,1.85vw,29px);margin:6px 0 3px}
  .auth-panel>p{font-size:11px;line-height:1.35;margin:4px 0}
  .auth-tabs{margin:11px 0 10px}
  .auth-tabs button{padding:7px 12px;font-size:12px}
  .auth-panel .form-field{font-size:11px;margin-bottom:9px}
  .auth-panel .form-field input{min-height:38px;margin-top:4px;padding:7px 11px;font-size:12px}
  .auth-panel .auth-submit{min-height:42px;margin-top:3px;padding:8px 14px}
  .auth-panel .auth-bottom{font-size:10px!important;line-height:1.4;margin-top:9px}
  .auth-panel .public-links{font-size:10px;margin-top:7px;gap:5px 9px;line-height:1.28}
  .auth-panel .public-identity{font-size:9px;margin-top:4px}
}
/* Janelas de notebook estreitas (horizontal): preservar a divisao sem empilhar. */
@media (min-width:901px) and (max-width:1100px){
  .auth-screen{display:grid;grid-template-columns:minmax(0,58fr) minmax(345px,42fr);height:100vh;height:100dvh;min-height:0}
  .auth-left{min-height:0;padding:clamp(18px,3.5vh,30px) 20px 18px clamp(23px,3vw,38px)}
  .auth-right{min-height:0;padding:14px 18px}
  .auth-brand{font-size:19px;gap:11px;letter-spacing:2.4px}
  .auth-brand .conrad-logo{width:55px;height:55px}
  .auth-story{max-width:61%;margin-top:clamp(20px,5vh,55px)}
  .auth-story h1{font-size:clamp(35px,3.7vw,43px);line-height:1.08;margin:12px 0}
  .auth-story p{font-size:11px;line-height:1.4}
  .auth-story .auth-tags{margin-top:12px;gap:5px}
  .auth-story .auth-tags span{font-size:9px;padding:6px 9px}
  .auth-watch-premium{width:42%;max-height:65vh;right:0;top:54%;opacity:.85}
  .auth-footer{bottom:12px;font-size:10px}
  .auth-panel h2{font-size:24px;line-height:1.2;margin:7px 0 5px}
  .auth-panel>p{font-size:11px;line-height:1.4}
  .auth-tabs{margin:13px 0 12px}
  .auth-tabs button{padding:7px 11px}
  .auth-panel .form-field{margin-bottom:10px;font-size:11px}
  .auth-panel .form-field input{min-height:41px;margin-top:5px;padding:8px 11px}
  .auth-panel .auth-submit{min-height:43px;margin-top:4px;padding:9px 12px}
  .auth-panel .auth-bottom{font-size:10px!important;line-height:1.4;margin-top:11px}
  .auth-panel .public-links{font-size:10px;margin-top:9px;gap:6px 9px}
  .auth-panel .public-identity{margin-top:5px;font-size:9px}
}
/* Em celular nao forcamos altura fixa: todos os campos continuam acessiveis. */
@media (max-width:900px){
  .auth-brand{font-size:clamp(16px,4vw,20px);gap:11px;letter-spacing:2.2px}
  .auth-brand .conrad-logo{width:clamp(45px,11vw,55px);height:clamp(45px,11vw,55px)}
}

@media (min-width:901px){
  .auth-brand{font-size:22.4px;letter-spacing:3.5px;gap:17px}
  .auth-brand .conrad-logo{width:63px;height:63px}
}


/* Conrad Watch V18.17 — vitrine de aplicativos reais e loja publicada.
   Identidade/paleta existentes; login e forms originais mantidos.
   CSS suporta paisagem notebook, tablet e celular sem cortar o formulario. */
.cw-product-showcase{
  position:absolute;z-index:2;pointer-events:none;user-select:none;
  right:0.3%;top:16%;height:77%;width:56%;
  filter:drop-shadow(0 15px 26px rgba(0,3,13,.18));
}
.cw-phone{
  position:absolute;
  width:23%;aspect-ratio:0.47;
  background:linear-gradient(145deg,#8bb7c3 0%,#263a48 18%,#06101d 55%,#3a5360 100%);
  padding:4px;
  border:1px solid rgba(138,223,232,.58);
  border-radius:clamp(14px,1.5vw,26px);
  box-shadow:inset 0 0 0 1px rgba(220,252,255,.19), 12px 25px 33px rgba(0,8,24,.52), 0 0 25px rgba(67,241,226,.08);
  overflow:hidden;
  transform-origin:center center;
  backface-visibility:hidden;
}
.cw-phone-screen{overflow:hidden;border-radius:inherit;width:100%;height:100%;background:#113047}
.cw-phone-screen img{width:100%;height:100%;object-fit:cover;display:block}
.cw-phone-sleep{left:1%;top:17%;transform:perspective(900px) rotateY(-16deg) rotateZ(-6deg);z-index:1;opacity:.90}
.cw-phone-home{left:20%;top:7%;transform:perspective(900px) rotateY(-10deg) rotateZ(2deg) scale(1.10);z-index:4}
.cw-phone-activity{left:44%;top:12%;transform:perspective(900px) rotateY(10deg) rotateZ(5deg);z-index:3;opacity:.96}
.cw-phone-messages{left:66%;top:21%;transform:perspective(900px) rotateY(16deg) rotateZ(7deg);z-index:2;opacity:.93}
.cw-product-showcase .auth-watch-premium{
  position:absolute!important;display:block!important;z-index:6!important;
  right:-1%!important;top:auto!important;bottom:-7%!important;
  width:46%!important;max-width:none!important;max-height:none!important;height:auto!important;
  transform:rotate(0deg)!important;filter:drop-shadow(0 26px 28px rgba(0,8,17,.75));opacity:1!important;
}
.cw-play-badge{
  display:inline-flex;align-items:center;gap:11px;position:relative;z-index:7;
  width:max-content;max-width:100%;
  color:#e7faff;background:linear-gradient(135deg,rgba(7,25,43,.92),rgba(14,56,67,.82));
  border:1px solid rgba(80,224,215,.54);border-radius:15px;
  padding:10px 13px;margin-top:15px;text-decoration:none!important;
  box-shadow:0 13px 26px rgba(0,6,22,.35),inset 0 1px rgba(255,255,255,.08);
  transition:transform .16s ease, border-color .16s ease,background .16s ease;
}
.cw-play-badge:hover{transform:translateY(-2px);border-color:rgba(97,247,224,.9);background:#133e4c}
.cw-play-badge:focus-visible{outline:3px solid #5ce7d8;outline-offset:3px}
.cw-play-mark{flex:none}
.cw-play-copy{display:flex;flex-direction:column;gap:1px;line-height:1.1}
.cw-play-copy small{font-size:9px;letter-spacing:1.2px;color:#a6e8e7;font-weight:700}
.cw-play-copy strong{font-size:17px;letter-spacing:.2px;font-weight:800}
.cw-play-chevron{font-size:20px;color:#5ce7d8;margin-left:8px}
/* Desktop: vitrine com largura larga, login com margens confortaveis. */
@media(min-width:1101px){
  .auth-screen{grid-template-columns:minmax(0,67fr) minmax(375px,33fr)}
  .auth-right{padding-left:clamp(28px,3vw,60px);padding-right:clamp(28px,3vw,60px)}
  .auth-panel{max-width:460px}
  .auth-story{max-width:52%}
  .auth-story h1{font-size:clamp(42px,3.4vw,73px)}
}
@media(min-width:1600px){
  .auth-screen{grid-template-columns:minmax(0,68fr) minmax(445px,32fr)}
  .cw-product-showcase{width:59%;right:0;top:15%;height:80%}
  .auth-story{max-width:50%}
  .auth-story h1{font-size:clamp(52px,3.45vw,74px)}
}
/* Notebook 1366x768: aproveitar espaco sem apertar o login. */
@media(min-width:1101px) and (max-width:1599px){
  .cw-product-showcase{width:55%;right:-.2%;top:17%;height:76%}
  .cw-phone{width:24%}
  .cw-product-showcase .auth-watch-premium{width:45%!important;bottom:-5%!important}
  .auth-story{max-width:52%}
  .auth-left{padding-left:clamp(32px,4.3vw,70px);padding-right:20px}
  .auth-right{padding-left:clamp(25px,2.6vw,40px);padding-right:clamp(25px,2.6vw,40px)}
  .auth-panel .form-field input{min-height:45px}
  .auth-panel .auth-submit{min-height:48px}
}
/* Alturas menores: hero recua um pouco, login tem rolagem INTERNA so se necessario. */
@media(min-width:901px) and (max-height:720px){
  .auth-left{padding-top:clamp(20px,3.5vh,32px)}
  .auth-story{margin-top:clamp(22px,6vh,48px)}
  .auth-story h1{font-size:clamp(37px,3.3vw,56px);margin:10px 0 10px}
  .auth-story p{font-size:12px;line-height:1.45}
  .auth-story .auth-tags{margin-top:9px}
  .cw-play-badge{margin-top:10px;padding:8px 12px}
  .cw-product-showcase{top:16%;height:78%}
  .auth-right{overflow-y:auto;overscroll-behavior:contain}
  .auth-right::-webkit-scrollbar{width:5px}
  .auth-right::-webkit-scrollbar-thumb{background:#285268;border-radius:8px}
}
@media(min-width:901px) and (max-width:1100px){
  .cw-product-showcase{width:51%;right:0;top:19%;height:72%}
  .cw-phone{width:24%}
  .cw-product-showcase .auth-watch-premium{width:48%!important}
  .auth-story{max-width:52%}
  .auth-story h1{font-size:clamp(33px,3.65vw,44px)}
  .auth-right{padding-left:24px;padding-right:24px}
}
/* Tablet: layout empilhado com a vitrine preservada, sem sobrepor os campos. */
@media(min-width:681px) and (max-width:900px){
  .auth-left{display:block;min-height:570px;position:relative}
  .auth-story{max-width:51%;margin-top:70px}
  .auth-story h1{font-size:clamp(39px,5.4vw,51px)}
  .cw-product-showcase{width:55%;height:430px;top:18%;right:0}
  .cw-product-showcase .auth-watch-premium{width:46%!important}
}
@media(max-width:680px){
  .auth-left{min-height:470px}
  .auth-story{max-width:72%;margin-top:42px}
  .auth-story h1{font-size:clamp(30px,7vw,44px)}
  .auth-story p{max-width:250px;font-size:11px;line-height:1.5}
  .cw-product-showcase{width:56%;height:310px;top:17%;right:-15%;opacity:.58}
  .cw-phone{width:31%;padding:2px;border-width:1px;border-radius:11px}
  .cw-phone-sleep{left:-8%;top:23%}
  .cw-phone-home{left:15%;top:16%}
  .cw-phone-activity{left:39%;top:22%}
  .cw-phone-messages{display:none}
  .cw-product-showcase .auth-watch-premium{width:55%!important;right:-3%!important;bottom:-15%!important}
  .cw-play-badge{padding:8px 10px;margin-top:12px;gap:7px}
  .cw-play-mark{width:25px;height:27px}
  .cw-play-copy strong{font-size:15px}
  .cw-play-copy small{font-size:8px}
  .cw-play-chevron{font-size:16px}
}
@media(max-width:400px){
  .auth-left{min-height:445px}
  .auth-story{max-width:78%}
  .cw-product-showcase{right:-25%;opacity:.36}
}

/* V18.17 acabamento: legendas legiveis e watch frontal valorizado. */
@media(min-width:1101px) and (max-width:1599px){
  .auth-story p{max-width:350px}
  .cw-phone-sleep{left:8%}
  .cw-product-showcase .auth-watch-premium{width:61%!important;right:-8%!important;bottom:-9%!important}
}
@media(min-width:1600px){
  .cw-phone-sleep{left:7%}
  .cw-product-showcase .auth-watch-premium{width:52%!important;right:-5%!important;bottom:-7%!important}
}
@media(max-width:680px){
  .cw-product-showcase{right:-10%;top:12%;opacity:.44}
  .cw-product-showcase .cw-phone{display:none}
  .cw-product-showcase .auth-watch-premium{width:94%!important;right:1%!important;bottom:4%!important}
}

/* Manter o relogio inteiramente dentro da vitrine, sem corte na divisoria do login. */
@media(min-width:1101px) and (max-width:1599px){
  .cw-product-showcase .auth-watch-premium{width:57%!important;right:-1%!important}
}
@media(min-width:1600px){
  .cw-product-showcase .auth-watch-premium{width:50%!important;right:-1%!important}
}


/* Conrad Watch V18.18 — acabamento final aprovado da home.
   - quatro celulares reais 26% menores (scale 0.74), WATCH premium sem redução;
   - Google Play em área livre inferior esquerda, fora dos títulos;
   - comportamento responsivo preservado, sem alterar componentes/cores do login. */
.cw-phones-cluster{
  position:absolute;inset:0;z-index:1;
  transform:scale(.74);transform-origin:50% 44%;
  pointer-events:none;
}
.cw-product-showcase > .auth-watch-premium{z-index:5!important}
/* O badge é irmão do conteúdo e não depende da altura das linhas de texto. */
.auth-left > .cw-play-badge{
  position:absolute;z-index:8;
  left:clamp(32px,4.3vw,85px);
  bottom:clamp(46px,9.0vh,88px);
  margin:0;
  padding:11px 15px;
  min-width:203px;
  border-color:rgba(90,231,220,.73);
  background:linear-gradient(125deg,rgba(5,22,42,.97),rgba(11,55,68,.91));
  box-shadow:0 17px 34px rgba(0,9,23,.47),inset 0 1px rgba(255,255,255,.12);
}
.auth-left > .cw-play-badge .cw-play-mark{width:34px;height:37px}
.auth-left > .cw-play-badge .cw-play-copy strong{font-size:19px}
@media(min-width:1600px){
  .cw-product-showcase{width:64%;right:0;top:11%;height:83%}
  .cw-phones-cluster{transform:scale(.74);transform-origin:49% 42%}
  .cw-product-showcase > .auth-watch-premium{width:48%!important;right:-1%!important;bottom:-5%!important}
}
@media(min-width:1101px) and (max-width:1599px){
  .cw-product-showcase{width:61%;right:0;top:11%;height:81%}
  .cw-phones-cluster{transform:scale(.74);transform-origin:50% 43%}
  .cw-product-showcase > .auth-watch-premium{width:52%!important;right:-1%!important;bottom:-8%!important}
}
@media(min-width:1101px) and (max-height:675px){
  .auth-left > .cw-play-badge{bottom:39px;padding:7px 11px;min-width:0}
  .auth-left > .cw-play-badge .cw-play-mark{height:30px;width:29px}
  .auth-left > .cw-play-badge .cw-play-copy strong{font-size:16px}
  .auth-left > .cw-play-badge .cw-play-copy small{font-size:8px}
  .cw-product-showcase{top:13%;height:79%}
}
@media(min-width:901px) and (max-width:1100px){
  .auth-left > .cw-play-badge{left:clamp(23px,3vw,38px);bottom:45px;min-width:0;padding:9px 10px}
  .cw-product-showcase{width:52%;top:15%;height:75%;right:-1%}
}
/* Tablet: vitrine acima do formulário; botão fica dentro dela em posição natural. */
@media(min-width:681px) and (max-width:900px){
  .auth-left{min-height:580px}
  .auth-left > .cw-play-badge{bottom:35px;left:clamp(28px,5vw,55px)}
  .cw-product-showcase{width:60%;right:-2%;top:16%;height:72%}
}
/* Mobile: jamais cortar o acesso à Google Play nem esconder campos. */
@media(max-width:680px){
  .auth-left{min-height:515px}
  .auth-left > .cw-play-badge{
    left:clamp(20px,6vw,32px);bottom:39px;
    min-width:0;padding:9px 12px;
  }
  .auth-left > .cw-play-badge .cw-play-mark{width:27px;height:29px}
  .auth-left > .cw-play-badge .cw-play-copy strong{font-size:15px}
  .auth-left > .cw-play-badge .cw-play-copy small{font-size:8px}
  .cw-phones-cluster{display:none}
}
@media(max-width:400px){
  .auth-left{min-height:510px}
  .auth-left > .cw-play-badge{bottom:35px}
}

/* Mobile final: evitar que o objeto decorativo concorra com a leitura do texto. */
@media(max-width:680px){
  .cw-product-showcase{opacity:.27;right:-16%}
}


/* V18.19 — vitrine aprovada, dois formatos de WATCH e acabamento da loja.
   Quatro telas reais deslocadas com sutileza à direita/baixo.
   WATCH retangular e redondo usam imagens independentes, sem interferir no login. */
.cw-phones-cluster{transform:translate(7%,5%) scale(.74)!important;transform-origin:50% 43%}
.cw-product-showcase > .auth-watch-round{
  position:absolute;display:block;z-index:5;pointer-events:none;
  right:-.4%;bottom:-6%;width:38%;height:auto;
  max-width:none;max-height:none;object-fit:contain;
  filter:drop-shadow(0 20px 22px rgba(0,5,18,.68));
}
.cw-product-showcase > .auth-watch-premium{
  z-index:6!important;right:32%!important;bottom:-5%!important;width:39%!important;
  filter:drop-shadow(0 17px 19px rgba(0,5,17,.68));
}
/* O símbolo do Google Play fica 10% menor sem apertar texto ou área clicável. */
.auth-left > .cw-play-badge .cw-play-mark{width:30.6px;height:33.3px}
@media(min-width:1600px){
  .cw-product-showcase > .auth-watch-round{width:36%;right:0;bottom:-6%}
  .cw-product-showcase > .auth-watch-premium{width:36%!important;right:31%!important;bottom:-5%!important}
}
@media(min-width:1101px) and (max-width:1599px){
  .cw-product-showcase > .auth-watch-round{width:38%;right:-1%;bottom:-8%}
  .cw-product-showcase > .auth-watch-premium{width:40%!important;right:31%!important;bottom:-6%!important}
}
@media(min-width:901px) and (max-height:675px){
  .cw-product-showcase > .auth-watch-round{width:35%;bottom:-4%}
  .cw-product-showcase > .auth-watch-premium{width:37%!important;bottom:-4%!important}
  .auth-left > .cw-play-badge .cw-play-mark{width:26.1px;height:27px}
}
@media(min-width:681px) and (max-width:1100px){
  .cw-product-showcase > .auth-watch-round{width:38%;right:-1%;bottom:-7%}
  .cw-product-showcase > .auth-watch-premium{width:39%!important;right:31%!important;bottom:-5%!important}
}
@media(max-width:680px){
  /* A vitrine é decorativa no celular: priorizar leitura e campos. */
  .cw-product-showcase > .auth-watch-round{width:49%;right:2%;bottom:4%;opacity:.92}
  .cw-product-showcase > .auth-watch-premium{width:49%!important;right:38%!important;bottom:3%!important}
  .auth-left > .cw-play-badge .cw-play-mark{width:24.3px;height:26.1px}
}


/* V18.20 — acabamento fino aprovado: sem mexer em paleta, login, dados ou navegação.
   Telefones levemente mais altos, WATCHs próximos e frase de apresentação legível. */
@media (min-width:681px){
  /* Subir celulares ~3% da área da vitrine, sem deslocamento horizontal adicional. */
  .cw-product-showcase .cw-phones-cluster{
    transform:translate(7%,2%) scale(.74)!important;
  }
  /* Aproximar apenas o relógio retangular do modelo redondo. */
  .cw-product-showcase > .auth-watch-premium{
    right:28.5%!important;
  }
}
@media (min-width:1101px){
  /* +8-10% no texto de apoio do slogan, sem aumentar o título. */
  .auth-story p{font-size:clamp(13px,1.10vw,16px);line-height:1.52}
}
@media (min-width:901px) and (max-height:720px){
  .auth-story p{font-size:13px;line-height:1.45}
}
@media (min-width:681px) and (max-width:1100px){
  .auth-story p{font-size:clamp(12px,1.55vw,14px);line-height:1.5}
}
@media (max-width:680px){
  .auth-story p{font-size:12px;line-height:1.5}
}


/* V18.21 — rearmonização da entrada: a altura útil vira espaço de leitura.
   Corrige a compactação herdada dos ajustes anti-scroll sem esconder
   campos, botão ou informações legais. Zonas: boas-vindas, formulário e rodapé. */
.auth-welcome,.auth-main,.auth-legal{width:100%;min-width:0}
.auth-welcome p{color:var(--muted);line-height:1.55;font-size:13px;margin:0}
.auth-welcome h2{margin:13px 0 9px}
.auth-legal .auth-bottom{color:var(--muted);line-height:1.55}
@media(min-width:901px){
  .auth-right{display:flex;align-items:center;justify-content:center;min-width:0;
    padding:clamp(15px,3.7vh,42px) clamp(25px,2.6vw,50px)}
  .auth-panel{
    display:flex;flex-direction:column;justify-content:space-between;
    min-height:min(800px,calc(100dvh - 92px));
    height:auto;max-width:460px;gap:0;
  }
  .auth-welcome h2{font-size:clamp(26px,2.25vw,36px);line-height:1.18;margin:14px 0 9px}
  .auth-welcome p{font-size:clamp(12px,.94vw,14px);line-height:1.6}
  .auth-label{font-size:11px;letter-spacing:2px}
  .auth-main .auth-tabs{margin:0 0 clamp(19px,3vh,31px)}
  .auth-main .auth-tabs button{font-size:13px;padding:12px 18px}
  .auth-main .form-field{margin-bottom:clamp(15px,2.25vh,24px);font-size:12px}
  .auth-main .form-field input{min-height:clamp(44px,5.7vh,54px);margin-top:8px;
    padding:10px 14px;font-size:13px}
  .auth-main .auth-submit{min-height:clamp(45px,5.9vh,55px);margin-top:5px;padding:11px 18px}
  .auth-legal .auth-bottom{font-size:11.5px!important;line-height:1.55;margin:0 0 12px}
  .auth-legal .public-links{margin-top:0;gap:8px 12px;font-size:10.5px;line-height:1.5}
  .auth-legal .public-identity{font-size:10px;margin-top:7px}
}
/* Quando a janela é baixa, a distribuição se ajusta sem gerar scroll global.
   Cadastros com campos extras podem utilizar somente a coluna da direita. */
@media(min-width:901px) and (max-height:720px){
  .auth-right{padding-block:12px}
  .auth-panel{min-height:min(620px,calc(100dvh - 52px))}
  .auth-welcome h2{font-size:clamp(23px,1.9vw,29px);margin:7px 0 5px}
  .auth-welcome p{font-size:11px;line-height:1.4}
  .auth-main .auth-tabs{margin-bottom:12px}
  .auth-main .auth-tabs button{padding:7px 13px;font-size:12px}
  .auth-main .form-field{margin-bottom:10px;font-size:11px}
  .auth-main .form-field input{min-height:40px;margin-top:5px;padding:8px 12px}
  .auth-main .auth-submit{min-height:43px;margin-top:4px;padding:8px 14px}
  .auth-legal .auth-bottom{font-size:10.5px!important;line-height:1.4;margin-bottom:7px}
  .auth-legal .public-links{font-size:10px;line-height:1.3;gap:5px 9px}
  .auth-legal .public-identity{font-size:9px;margin-top:5px}
}
/* Pequenas janelas horizontais mantêm as duas colunas e usam o espaço. */
@media(min-width:901px) and (max-width:1100px){
  .auth-right{padding-left:24px;padding-right:24px}
  .auth-panel{min-height:min(780px,calc(100dvh - 66px))}
  .auth-welcome h2{font-size:clamp(23px,2.5vw,29px)}
}
/* No celular a altura segue o conteúdo. Nenhum campo fica escondido. */
@media(max-width:900px){
  .auth-panel{display:block;min-height:0}
  .auth-welcome h2{margin:12px 0 8px}
  .auth-main .auth-tabs{margin:23px 0 19px}
  .auth-main .form-field{margin-bottom:17px}
  .auth-legal{margin-top:22px}
  .auth-legal .auth-bottom{font-size:11px!important;line-height:1.55;margin-bottom:12px}
}

/* Distribuir também os campos e o botão dentro da zona central, em vez de
   concentrar toda a folga somente entre blocos. */
@media(min-width:901px){
  .auth-main form{
    display:flex;flex-direction:column;justify-content:space-between;
    min-height:clamp(260px,34dvh,350px);
  }
  .auth-welcome h2{font-size:clamp(25px,1.92vw,32px)}
}
@media(min-width:901px) and (max-height:720px){
  .auth-main form{min-height:clamp(215px,36dvh,260px)}
}


/* ==========================================================================
   Conrad Watch V18.22 — FINAL DE VITRINE / TELAS ORIGINAIS, SEM REGERAR IMAGEM
   Reposição visual da arte aprovada: quatro telas originais do aplicativo,
   nítidas e vivas, relógio quadrado e redondo sobrepostos em primeiro plano.
   Login/cadastro MASTER, cores, APIs, formulários e fluxo de dados preservados.
   ========================================================================= */
/* Cada tela foi restaurada exatamente do arquivo original 720x1600 fornecido,
   sem downsample 360px ou reconversão WebP que degradavam microtextos e ícones. */
.cw-phone-screen img{
  image-rendering:auto;
  width:100%;height:100%;object-fit:cover;
  filter:brightness(1.12) contrast(1.045) saturate(1.12);
}
.cw-phone{background:linear-gradient(145deg,#b5d8e1 0%,#4b7181 15%,#06121e 40%,#223d4d 82%,#9de6df 100%);
  border-color:rgba(147,241,243,.70);
  box-shadow:inset 0 0 0 1px rgba(232,255,255,.26), 12px 22px 29px rgba(0,7,20,.58),0 0 18px rgba(52,242,221,.17);
  aspect-ratio:.456; border-radius:clamp(12px,1.55vw,26px);
}
.cw-phone-sleep{opacity:.97}
.cw-phone-home,.cw-phone-activity,.cw-phone-messages{opacity:1}
/* Equivalente a recuperar 100% do tamanho base (antes comprimido a 74%).
   Uma vitrine visual maior e com aspecto mais natural como a imagem aprovada. */
@media (min-width:1101px){
  .cw-product-showcase .cw-phones-cluster{
    transform:translate(5%,-1.5%) scale(.98)!important;
    transform-origin:50% 43%;
  }
  .cw-product-showcase{width:64%;right:0;top:11%;height:83%}
  .cw-phone-sleep{left:4%;top:16%}
  .cw-phone-home{left:24%;top:7%;transform:perspective(1100px) rotateY(-9deg) rotateZ(1.7deg) scale(1.08)}
  .cw-phone-activity{left:47%;top:13%}
  .cw-phone-messages{left:69%;top:21%}
  .cw-product-showcase > .auth-watch-round{
    width:39%;bottom:-8%;right:-.4%;filter:drop-shadow(0 20px 22px rgba(0,5,18,.72));
  }
  .cw-product-showcase > .auth-watch-premium{
    width:40%!important;bottom:-7%!important;right:27%!important;
  }
}
/* Notebook menor: proteção de título e tags, mantendo displays vibrantes. */
@media (min-width:1101px) and (max-width:1450px){
  .cw-product-showcase{width:61%;right:0;top:11%;height:81%}
  .cw-product-showcase .cw-phones-cluster{
    transform:translate(5%,-1%) scale(.92)!important;
  }
  .cw-phone-sleep{left:4%}
  .cw-product-showcase > .auth-watch-round{width:38%;right:-.5%;bottom:-8%}
  .cw-product-showcase > .auth-watch-premium{width:39%!important;right:27%!important;bottom:-7%!important}
}
@media (min-width:901px) and (max-width:1100px){
  .cw-product-showcase .cw-phones-cluster{transform:translate(6%,0) scale(.84)!important}
  .cw-phone-screen img{filter:brightness(1.13) contrast(1.05) saturate(1.1)}
}
@media (min-width:681px) and (max-width:900px){
  .cw-product-showcase .cw-phones-cluster{transform:translate(2%,2%) scale(.80)!important}
  .cw-phone-screen img{filter:brightness(1.11) contrast(1.04) saturate(1.08)}
}
/* Em celular, a exibição publicitária não compete com a legibilidade do cadastro. */
@media(max-width:680px){
  .cw-phones-cluster{display:none!important}
}


/* V18.23 — três dispositivos com geometria CONTROLADA, sem regeneração.
   Mesma inclinação e dimensões idênticas nos dois atrás do central.
   A tela da direita é Atividades, não outra tela inventada. */
@media(min-width:1101px){
 .cw-product-showcase .cw-phones-cluster{
   transform:none!important; transform-origin:center center!important;
   inset:0!important;position:absolute!important;height:100%!important;width:100%!important;
 }
 .cw-product-showcase .cw-phone{
   transform:perspective(1200px) rotateY(-8deg) rotateZ(-1deg)!important;
   transform-origin:50% 50%!important;
   opacity:1!important;
   aspect-ratio:.456!important;
   border-radius:clamp(13px,1.3vw,25px)!important;
 }
 .cw-product-showcase .cw-phone-sleep,
 .cw-product-showcase .cw-phone-activity{
   width:25.2%!important; top:23%!important; z-index:2!important;
 }
 .cw-product-showcase .cw-phone-sleep{left:11%!important}
 .cw-product-showcase .cw-phone-activity{left:67%!important}
 .cw-product-showcase .cw-phone-home{
   left:34%!important;top:8%!important;width:33%!important;z-index:4!important;
 }
 .cw-product-showcase .cw-phone-messages{display:none!important}
 .cw-product-showcase > .auth-watch-round{z-index:6!important}
 .cw-product-showcase > .auth-watch-premium{z-index:7!important}
}
@media(min-width:901px) and (max-width:1100px){
 .cw-product-showcase .cw-phone-messages{display:none!important}
 .cw-product-showcase .cw-phone-sleep,.cw-product-showcase .cw-phone-activity{
  width:26%!important;top:22%!important;opacity:1!important;
  transform:perspective(1000px) rotateY(-8deg) rotateZ(-1deg)!important;
 }
 .cw-product-showcase .cw-phone-sleep{left:8%!important}
 .cw-product-showcase .cw-phone-activity{left:59%!important}
 .cw-product-showcase .cw-phone-home{left:31%!important;top:8%!important;width:32%!important;z-index:4!important;transform:perspective(1000px) rotateY(-8deg) rotateZ(-1deg)!important}
}


/* V18.26 — Estrutura da home e comportamento; valores manuais no controle-home.css. */
#auth-screen .cw-hero-fundo {
  position:absolute; object-fit:cover; object-position:center center;
  z-index:0; pointer-events:none; user-select:none;
}
#auth-screen .cw-hero-objetos {
  position:absolute; max-width:none; object-fit:contain;
  z-index:2; pointer-events:none; user-select:none;
}
#auth-screen .cw-hero-play {
  position:absolute; display:block; z-index:5; cursor:pointer;
  transition:filter .18s ease,transform .18s ease;
}
#auth-screen .cw-hero-play img {display:block;width:100%;height:auto;object-fit:contain}
#auth-screen .cw-hero-play:hover {filter:brightness(1.13);transform:translateY(-2px)}
#auth-screen .cw-hero-play:focus-visible {outline:2px solid #66fff0;outline-offset:3px;border-radius:12px}

@media(min-width:901px){
  html:has(#auth-screen:not(.hidden)), body:has(#auth-screen:not(.hidden)){overflow:hidden}
  #auth-screen.auth-screen {
    display:grid;
    grid-template-columns:minmax(0,68fr) minmax(0,32fr);
    width:100%;height:100vh;height:100dvh;min-height:0;max-height:100dvh;
    overflow:hidden;background:#03162d;
  }
  #auth-screen .auth-left {
    position:relative;isolation:isolate;overflow:hidden;
    width:100%;height:100%;min-width:0;min-height:0;
    padding:0;margin:0;background:#052040;
  }
  #auth-screen .auth-left::after {display:none!important}
  #auth-screen .auth-brand {
    position:absolute;z-index:4;top:4.5%;left:4.5%;
    display:flex;align-items:center;gap:clamp(10px,1vw,19px);
    margin:0;padding:0;font-weight:800;
    font-size:clamp(18px,1.92vw,34px);letter-spacing:.12em;
    white-space:nowrap;color:#f1f8ff;
  }
  #auth-screen .auth-brand img {width:clamp(56px,5vw,92px);height:auto;flex:none}
  #auth-screen .auth-brand .brand-watch{margin-left:0;color:#4bedde}
  #auth-screen .auth-story {
    position:absolute;z-index:3;left:4.5%;top:25%;width:38%;
    max-width:460px;margin:0;pointer-events:none;
  }
  #auth-screen .auth-story .eyebrow {font-size:clamp(10px,.92vw,16px);letter-spacing:.155em;color:#55f6e9;white-space:nowrap}
  #auth-screen .auth-story .eyebrow .dot{width:9px;height:9px}
  #auth-screen .auth-story h1 {
    font-size:clamp(37px,3.58vw,64px);line-height:1.11;letter-spacing:-.05em;
    font-weight:800;color:#f0f8ff;margin:clamp(20px,4.5vh,45px) 0 22px;
  }
  #auth-screen .auth-story h1 em{font-style:normal;color:#45eedd}
  #auth-screen .auth-story p {
    font-size:clamp(13px,1.02vw,19px);line-height:1.55;
    color:#e4eaf1;max-width:420px;margin:0;
  }
  #auth-screen .auth-tags {
    position:absolute;bottom:7%;left:4.5%;z-index:4;
    display:flex;flex-wrap:wrap;gap:12px;margin:0;
  }
  #auth-screen .auth-tags span {
    display:inline-flex;align-items:center;min-height:38px;
    padding:8px 14px;border-radius:24px;border:1px solid #36ced17b;
    background:#09223875;color:#dafff9;font-size:clamp(10px,.8vw,14px);
    font-weight:700;white-space:nowrap;backdrop-filter:blur(2px);
  }
  #auth-screen .auth-footer{position:absolute;bottom:1.4%;left:4.5%;z-index:4;margin:0;color:#8cb2bf;font-size:10px}

  #auth-screen .auth-right {
    min-width:0;min-height:0;height:100%;width:100%;
    display:flex;align-items:stretch;justify-content:center;
    overflow:hidden;
    background:radial-gradient(ellipse at 42% 47%,#102847 0%,#09182e 54%,#061226 100%);
    border-left:1px solid rgba(68,219,220,.15);
    padding:clamp(22px,3.4vh,45px) clamp(24px,2.45vw,60px);
  }
  #auth-screen .auth-panel {
    display:flex;flex-direction:column;justify-content:space-between;
    width:100%;max-width:none;height:100%;min-height:0;min-width:0;
    overflow-x:hidden;overflow-y:auto;
    scrollbar-width:thin;scrollbar-color:#31566a transparent;
    gap:clamp(15px,2.3vh,30px);
  }
  #auth-screen .auth-mobile-brand{display:none!important}
  #auth-screen .auth-welcome,#auth-screen .auth-main,#auth-screen .auth-legal {
    width:100%;min-width:0;max-width:none;position:static;margin:0;padding:0;
    flex-shrink:0;
  }
  #auth-screen .auth-label {font-size:clamp(10px,.84vw,14px);color:#5af7eb;letter-spacing:.115em;font-weight:800}
  #auth-screen .auth-welcome h2 {
    font-size:clamp(23px,2.05vw,35px);line-height:1.18;letter-spacing:-.035em;
    margin:clamp(12px,2.4vh,28px) 0 clamp(9px,1.5vh,18px);
    font-weight:800;
  }
  #auth-screen .auth-welcome p{font-size:clamp(12px,.95vw,16px);line-height:1.5;margin:0;color:#bfcbda}
  #auth-screen .auth-tabs {
    display:flex;gap:0;height:clamp(44px,5.9vh,62px);
    border-bottom:1px solid #365066;margin:0 0 clamp(18px,3vh,34px);
  }
  #auth-screen .auth-tabs button {
    font-size:clamp(12px,.94vw,16px);font-weight:800;
    color:#b3c5da;padding:10px 20px 11px;
    border:0;border-bottom:3px solid transparent;background:none;
  }
  #auth-screen .auth-tabs button.active{color:#55ffea;border-bottom-color:#52f2e3}
  #auth-screen .auth-main form {
    display:flex;flex-direction:column;justify-content:space-between;
    gap:clamp(15px,2.5vh,28px);min-height:0!important;height:auto;margin:0!important;
  }
  #auth-screen .auth-main .form-field {
    margin:0!important;display:flex;flex-direction:column;gap:8px;
    font-size:clamp(12px,.92vw,16px);font-weight:700;color:#e1ebf9;
  }
  #auth-screen .auth-main .form-field.hidden{display:none!important}
  #auth-screen .auth-main .form-field input {
    margin:0!important;width:100%;height:clamp(44px,6.2vh,65px);
    min-height:0;max-height:none;
    border-radius:clamp(10px,1.1vw,18px);
    padding:12px 16px;font-size:clamp(12px,.95vw,16px);
    border:1px solid #516f8a;background:linear-gradient(120deg,#20374f,#1b3049);
    color:#f3fbff;box-shadow:inset 0 1px #ffffff10;
  }
  #auth-screen .auth-main .form-field input:focus {
    outline:2px solid #5cf6e5;outline-offset:1px;box-shadow:0 0 0 4px #4dfad025;
  }
  #auth-screen .auth-main .auth-submit {
    width:100%;height:clamp(53px,8.2vh,86px);
    min-height:0;max-height:none;margin:clamp(4px,.7vh,10px) 0 0;
    border-radius:clamp(12px,1.2vw,20px);border:0;
    display:flex;align-items:center;justify-content:space-between;
    padding:12px 20px;font-size:clamp(14px,1.14vw,20px);
    font-weight:800;color:#041a29;background:linear-gradient(100deg,#58f2e2,#1de3d8);
  }
  #auth-screen .auth-main .auth-submit span{font-size:24px}
  #auth-screen .auth-legal .auth-bottom {
    font-size:clamp(11px,.82vw,14px)!important;
    line-height:1.45;color:#aebed0;margin:0 0 14px;
  }
  #auth-screen .auth-legal .public-links {
    display:flex!important;flex-wrap:wrap;gap:7px 12px;
    font-size:clamp(10px,.73vw,12px);line-height:1.45;
    margin:0;
  }
  #auth-screen .auth-legal .public-identity {
    display:block!important;font-size:10px;color:#7da4b6;margin-top:8px;
  }
}

/* Baixa altura: comprimimos SOMENTE espaçamentos do FORMULÁRIO.
   Se MASTER exigir muitos campos, rolagem ocorre só na coluna do login. */
@media(min-width:901px) and (max-height:710px){
  #auth-screen .auth-right{padding-block:12px}
  #auth-screen .auth-panel{gap:10px}
  #auth-screen .auth-welcome h2{margin:8px 0 6px;font-size:clamp(21px,1.85vw,30px)}
  #auth-screen .auth-welcome p{font-size:11px}
  #auth-screen .auth-tabs{height:38px;margin-bottom:12px}
  #auth-screen .auth-tabs button{padding:8px 15px;font-size:12px}
  #auth-screen .auth-main form{gap:10px}
  #auth-screen .auth-main .form-field{gap:5px;font-size:11px}
  #auth-screen .auth-main .form-field input{height:39px;font-size:12px;padding:8px 12px}
  #auth-screen .auth-main .auth-submit{height:45px;margin-top:2px;font-size:13px}
  #auth-screen .auth-legal .auth-bottom{font-size:10px!important;margin-bottom:5px}
  #auth-screen .auth-legal .public-links{font-size:9px;gap:4px 8px}
}

/* Notebook mais estreito: a arte cede espaço, sem tocar no tamanho
   intrínseco dos arquivos. A coluna direita conserva margens. */
@media(min-width:901px) and (max-width:1270px){
  #auth-screen.auth-screen{grid-template-columns:minmax(0,66fr) minmax(0,34fr)}
  #auth-screen .auth-right{padding-inline:24px}
  #auth-screen .auth-story h1{font-size:clamp(32px,3.25vw,43px)}
  #auth-screen .auth-story p{max-width:315px}
  #auth-screen .auth-brand{font-size:clamp(18px,1.85vw,23px)}
  #auth-screen .auth-brand img{width:clamp(54px,4.5vw,72px)}
}

/* Mobile: vitrine + formulário empilhados. Pode rolar para não esconder
   campos de cadastro e o código MASTER. */
@media(max-width:900px){
  html:has(#auth-screen:not(.hidden)),body:has(#auth-screen:not(.hidden)){overflow:auto!important}
  #auth-screen.auth-screen{display:flex;flex-direction:column;width:100%;height:auto;min-height:100dvh;max-height:none;overflow:visible}
  #auth-screen .auth-left{display:block;position:relative;isolation:isolate;height:clamp(475px,133vw,670px);min-height:0;padding:0!important;overflow:hidden;background:#04233c}
  #auth-screen .auth-left::after{display:none!important}
  #auth-screen .auth-brand{position:absolute;z-index:4;top:5%;left:5%;display:flex;align-items:center;gap:8px;font-size:clamp(16px,4.5vw,28px);letter-spacing:.1em;white-space:nowrap;color:#e9f8ff}
  #auth-screen .auth-brand img{width:clamp(44px,10vw,72px);height:auto}
  #auth-screen .auth-brand .brand-watch{color:#42eee0;margin-left:0}
  #auth-screen .auth-story{position:absolute;top:21%;left:5%;width:58%;z-index:3;margin:0;max-width:none}
  #auth-screen .auth-story .eyebrow{font-size:clamp(8px,2vw,12px);letter-spacing:.1em;white-space:nowrap}
  #auth-screen .auth-story h1{font-size:clamp(30px,7.5vw,54px);letter-spacing:-.045em;line-height:1.09;margin:15px 0}
  #auth-screen .auth-story p{font-size:clamp(10px,2.8vw,13px);line-height:1.45;max-width:255px}
  /* Valores de celular: somente reposicionamento visual, não processamento da imagem. */
  #auth-screen .cw-hero-objetos{left:46%;top:42%;width:69%;height:auto}
  #auth-screen .cw-hero-play{left:5%;top:74%;width:44%;height:auto}
  #auth-screen .auth-tags{position:absolute;bottom:4%;left:5%;z-index:5;display:flex;gap:6px;flex-wrap:wrap;margin:0}
  #auth-screen .auth-tags span{padding:6px 9px;font-size:9px;line-height:1.25;border-radius:20px;background:#0b203ba3;border:1px solid #5fcbd05c}
  #auth-screen .auth-footer{display:none!important}
  #auth-screen .auth-right{display:block;min-height:0;height:auto;padding:28px clamp(22px,6vw,55px) 42px;background:#09192e;overflow:visible}
  #auth-screen .auth-panel{display:flex;flex-direction:column;gap:26px;width:100%;max-width:540px;margin:0 auto;min-height:0;height:auto;overflow:visible}
  #auth-screen .auth-welcome,#auth-screen .auth-main,#auth-screen .auth-legal{position:static;width:100%;margin:0;padding:0}
  #auth-screen .auth-welcome h2{font-size:clamp(24px,6vw,32px);margin:10px 0}
  #auth-screen .auth-welcome p{font-size:13px;line-height:1.55}
  #auth-screen .auth-tabs{margin:0 0 20px}
  #auth-screen .auth-main form{display:flex;flex-direction:column;gap:14px;min-height:0!important;margin:0!important}
  #auth-screen .auth-main .form-field{margin:0;display:flex;flex-direction:column;gap:7px}
  #auth-screen .auth-main .form-field.hidden{display:none!important}
  #auth-screen .auth-main .form-field input{margin:0;min-height:48px}
  #auth-screen .auth-main .auth-submit{margin:8px 0 0;min-height:56px;font-size:15px}
  #auth-screen .auth-legal .auth-bottom{font-size:12px!important;margin:0 0 13px}
  #auth-screen .auth-legal .public-links{display:flex!important;gap:8px 13px;flex-wrap:wrap;font-size:11px}
  #auth-screen .auth-legal .public-identity{display:block!important;font-size:10px;margin-top:10px}
}

/* Celulares estreitos: separar o título da imagem, preservando os 3 PNGs. */
@media(max-width:500px){
  #auth-screen .auth-left{height:clamp(585px,160vw,670px)}
  #auth-screen .cw-hero-objetos{left:46%;top:52%;width:69%;height:auto}
  #auth-screen .cw-hero-play{left:5%;top:76%;width:44%;height:auto}
  #auth-screen .auth-tags{bottom:4%}
}

/* Ajuste tipográfico de notebooks: a descrição não invade os celulares. */
@media(min-width:901px) and (max-width:1450px){
  #auth-screen .auth-story p{max-width:310px}
}


/* V18.27 — Corte sem deformação: o PNG conserva a proporção.
   Ajuste --cw-fundo-corte-direita em controle-home.css.
   Afeta SOMENTE a camada do fundo, nunca os celulares ou relógios. */
@media (min-width: 901px) {
  #auth-screen .cw-hero-fundo {
    clip-path: inset(0 var(--cw-fundo-corte-direita, 0%) 0 0);
  }

  /* Mais respiro APENAS quando a aba Entrar está ativa.
     Cadastro/Master preservam os espaçamentos anteriores. */
  #auth-screen .auth-main:has(#tab-login.active) .auth-tabs {
    margin-bottom: clamp(24px, 3.5vh, 38px);
  }
  #auth-screen .auth-main:has(#tab-login.active) form {
    gap: clamp(21px, 3.1vh, 31px);
  }
  #auth-screen .auth-main:has(#tab-login.active) .form-field {
    gap: 10px;
  }
}
@media (min-width:901px) and (max-height:710px) {
  #auth-screen .auth-main:has(#tab-login.active) .auth-tabs {
    margin-bottom: 17px;
  }
  #auth-screen .auth-main:has(#tab-login.active) form {
    gap: clamp(14px, 2.6vh, 20px);
  }
  #auth-screen .auth-main:has(#tab-login.active) .form-field {
    gap: 7px;
  }
}


/* V18.41 GPS por WATCH. Mantém todas as animações e grid premium da V18.40.2. */
.cw-geo-table .watch-person{min-width:0;max-width:280px;text-align:left}
.cw-geo-table th,.cw-geo-table td{vertical-align:middle}
.cw-geo-toolbar{flex-wrap:wrap;gap:12px}
.cw-geo-datebar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid rgba(116,187,215,.15)}
.cw-geo-datebar label{display:flex;gap:7px;flex-direction:column;font-size:.86rem;color:#a8c8dc}
.cw-geo-datebar input{min-height:42px;min-width:150px;padding:9px;border:1px solid #42627a;border-radius:10px;color:#eefaff;background:#10283a;color-scheme:dark}
.cw-geo-hrow{cursor:pointer;transition:background .18s ease}
.cw-geo-hrow:hover,.cw-geo-hrow:focus{background:rgba(82,214,209,.12);outline:1px solid #4bcec7}
.cw-geo-hrow.selected{background:rgba(82,214,209,.17)}
.cw-geo-result{display:inline-block;padding:5px 9px;border-radius:16px;background:#28465b;font-size:.8rem;white-space:nowrap}
.cw-geo-completed{color:#65e4be}.cw-geo-failed,.cw-geo-expired{color:#ffc090}
.cw-geo-error{display:block;margin-top:6px;max-width:290px;white-space:normal;color:#c2d3e1}
.cw-geo-map-panel{padding:22px;margin-top:18px}
.cw-geo-map-panel h2{margin:0 0 16px}
.cw-geo-map{display:block;width:100%;height:380px;border:1px solid #32617b;border-radius:14px;background:#10283a}
.cw-geo-placeholder{min-height:210px;display:grid;place-items:center;text-align:center;color:#abc8dc;padding:24px;border:1px dashed #45708a;border-radius:14px}
.cw-geo-position{margin:0 0 15px;line-height:1.8;color:#daf4ff}
.cw-geo-position a{color:#56e3dd}
.cw-geo-coordinates{font-size:.85rem;color:#91bfd1}
@media(max-width:680px){.cw-geo-datebar input{min-width:0;width:100%}.cw-geo-map{height:290px}.cw-geo-table{min-width:760px}.cw-geo-datebar{padding:14px}}

/* V18.42 - feedback persistente, ~20% mais largo para a esquerda e ~30% mais alto. */
.command-visual-feedback{width:min(558px,calc(100vw - 28px));min-height:137px;gap:21px;padding:22px 26px;z-index:55}
.command-visual-feedback strong{font-size:18px;line-height:1.35}
.command-visual-feedback small{font-size:13px;line-height:1.55}
.command-visual-feedback .feedback-symbol{width:82px;min-width:82px;height:82px;color:#ff7895!important}
.command-visual-feedback .feedback-symbol svg{width:72px;height:72px;display:block;overflow:visible}
.command-visual-feedback .cw-feedback-copy{min-width:0;flex:1}
.command-visual-feedback.feedback-gps{background:linear-gradient(130deg,#0d394b,#14283e);border-color:#53d9d0}
.command-visual-feedback.feedback-gps .feedback-symbol{color:#5ae3d7!important}
.command-visual-feedback.feedback-vibrate .feedback-symbol{color:#5ae3d7!important}
.command-visual-feedback.feedback-activity .feedback-symbol{color:#ffce7b!important}
.command-visual-feedback.feedback-panic .feedback-symbol{color:#ff607f!important}
.command-visual-feedback.feedback-alarm .feedback-symbol{color:#ffce7b!important}
.command-visual-feedback.feedback-message .feedback-symbol{color:#89cfff!important}
.command-visual-feedback.feedback-heart .feedback-symbol{color:#ff6689!important}
.command-visual-feedback.feedback-heart .feedback-symbol svg{animation:cw-feedback-heart 1.12s ease-in-out infinite;transform-origin:center}
.command-visual-feedback.feedback-vibrate .feedback-symbol svg{animation:cw-feedback-vibrate .58s linear infinite;transform-origin:center}
.command-visual-feedback.feedback-gps .feedback-symbol svg{animation:cw-feedback-gps 1.75s ease-in-out infinite;transform-origin:center}
.command-visual-feedback.feedback-gps .cw-gps-dot{animation:cw-gps-dot 1.75s ease-in-out infinite}
.command-visual-feedback.feedback-activity .feedback-symbol svg{animation:cw-feedback-charge 1.6s ease-in-out infinite}
.command-visual-feedback.feedback-panic .feedback-symbol svg,.command-visual-feedback.feedback-alarm .feedback-symbol svg{animation:cw-feedback-alert 1.5s ease-in-out infinite}
.command-visual-feedback.feedback-message .feedback-symbol svg{animation:cw-feedback-message 2.3s ease-in-out infinite}
.command-visual-feedback.feedback-failed .feedback-symbol svg{animation:none!important}
@keyframes cw-feedback-heart{0%,100%{transform:scale(1)}15%{transform:scale(1.27)}30%{transform:scale(.96)}45%{transform:scale(1.16)}70%{transform:scale(1)}}
@keyframes cw-feedback-vibrate{0%,100%{transform:translateX(0) rotate(0)}20%{transform:translateX(-3px) rotate(-4deg)}40%{transform:translateX(3px) rotate(4deg)}60%{transform:translateX(-3px) rotate(-3deg)}80%{transform:translateX(3px) rotate(3deg)}}
@keyframes cw-feedback-gps{0%,100%{transform:translateY(0) scale(1)}48%{transform:translateY(-8px) scale(1.08)}}
@keyframes cw-gps-dot{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes cw-feedback-charge{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.17);opacity:.75}}
@keyframes cw-feedback-alert{0%,100%{transform:scale(1)}50%{transform:scale(1.17)}}
@keyframes cw-feedback-message{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.cw-gps-api-warning{margin:13px 0 19px;background:#49371b;color:#ffe2a5;border:1px solid #b78c45;padding:12px 17px;border-radius:12px;font-size:13px;line-height:1.5}
@media(max-width:700px){.command-visual-feedback{width:calc(100vw - 28px);min-height:137px;right:14px;bottom:14px;padding:16px;gap:12px}.command-visual-feedback .feedback-symbol{width:64px;min-width:64px;height:64px}.command-visual-feedback .feedback-symbol svg{width:60px;height:60px}.command-visual-feedback strong{font-size:15px}.command-visual-feedback small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.command-visual-feedback .feedback-symbol svg,.command-visual-feedback .cw-gps-dot{animation:none!important}}

/* V18.43: filtros responsivos e distinção explícita entre fixação nova e cache. */
.cw-history-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;padding:17px;margin-bottom:16px;align-items:end}
.cw-history-filters label{font-size:12px;font-weight:700;color:#b9deed;display:grid;gap:6px}
.cw-history-filters .select-box{margin:0;min-height:42px}
.cw-geo-old{background:#61461a33;border:1px solid #d8a354;padding:12px 15px;border-radius:12px}
.cw-geo-old strong{color:#ffce76}
.cw-geo-activity-link{margin-top:7px;font-size:11px;color:#66e4dd;cursor:pointer}
@media(max-width:680px){.cw-history-filters{grid-template-columns:1fr 1fr}.cw-geo-old{padding:10px}}

/* V18.47 — dez ações remotas com ícones vetoriais e apresentação consistente. */
.cw-v14-detail .cw-remote-card .detail-quick-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.cw-v14-detail .cw-remote-card .detail-quick-action{position:relative;isolation:isolate;min-height:122px!important;background:linear-gradient(155deg,#17354b,#102738)!important;border:1px solid #3a627b!important;box-shadow:inset 0 1px 0 #ffffff12,0 6px 18px #061a2a45;transition:transform .18s,border-color .18s,box-shadow .18s!important}
.cw-v14-detail .cw-remote-card .detail-quick-action svg{width:38px;height:38px;transition:transform .22s;filter:drop-shadow(0 0 8px currentColor)}
.cw-v14-detail .cw-remote-card .detail-quick-action:hover,.cw-v14-detail .cw-remote-card .detail-quick-action:focus-visible{border-color:#63d8da!important;box-shadow:0 10px 24px #041f3580,0 0 0 2px #57dadd45;transform:translateY(-3px)}
.cw-v14-detail .cw-remote-card .detail-quick-action:focus-visible{outline:2px solid #8be9ea;outline-offset:2px}
.cw-v14-detail .cw-remote-card .detail-quick-action small{font-size:10px;font-weight:600;color:#b4cee0;line-height:1.25}
.cw-v14-detail .quick-panic svg,.cw-v14-detail .quick-reset svg{color:#ff948f}
.cw-v14-detail .quick-gps svg{color:#62e4d5}
.cw-v14-detail .quick-repetition svg{color:#b9a4ff}
.cw-v14-detail .quick-heart svg{color:#ff8ca1}
.cw-v14-detail .quick-vibrate svg{color:#76e8e3}
.cw-v14-detail .quick-sleep svg{color:#c4b3ff}
.cw-v14-detail .quick-sport svg{color:#f2bf7d}
.cw-v14-detail .quick-message svg{color:#87c9ff}
.cw-v14-detail .quick-alarm svg{color:#ffc77a}
.cw-v14-detail .cw-action-unavailable{border-color:#d69a5c99!important;background:linear-gradient(155deg,#423226,#102738)!important}
.cw-v14-detail .cw-action-unavailable small{color:#ffd4a3!important}
@media(prefers-reduced-motion:reduce){.cw-v14-detail .cw-remote-card .detail-quick-action,.cw-v14-detail .cw-remote-card .detail-quick-action svg{transition:none!important}}

/* V18.49: unrelated notifications must never overlap the command card. */
body:has(.command-visual-feedback) #toasts { top: 22px; bottom: auto; }

/* V18.54 — Cercas */
.cw-fence-panel{margin-bottom:20px;padding:22px;scroll-margin-top:90px}
.cw-fence-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin:16px 0}
.cw-fence-fields label,.cw-fence-tools label{display:flex;flex-direction:column;gap:5px;font-size:13px}
.cw-fence-fields input,.cw-fence-fields select,.cw-fence-tools input{width:100%;min-width:0;padding:10px;border:1px solid #8ca8b5;border-radius:8px;background:var(--surface,#fff);color:var(--text,#133348)}
.cw-fence-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:12px 0}
.cw-fence-tools label{max-width:150px}
#fence-map{height:460px;min-height:300px;isolation:isolate;z-index:0;border-radius:12px;background:#dce8eb;color:#173748;overflow:hidden}
#fence-error{color:#b64b42;min-height:1em}
@media(max-width:680px){.cw-fence-fields{grid-template-columns:1fr}.cw-fence-panel{padding:12px}#fence-map{height:360px}}

/* V18.55 — editor genérico de regras */
.ar-editor label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}
.ar-editor input:not([type=checkbox]),.ar-editor textarea,.ar-editor select{width:100%;min-width:0;padding:10px;border:1px solid #8ca8b5;border-radius:8px;background:var(--surface,#fff);color:var(--text,#133348)}
.ar-editor .ar-check{display:flex;flex-direction:row;align-items:center;margin:14px 0;gap:8px}
.ar-block{margin:18px 0;padding:16px;border:1px solid #8ca8b566;border-radius:12px}
.ar-action{padding:14px;margin:12px 0;border:1px solid #8ca8b566;border-radius:10px;display:grid;gap:10px}
.ar-action .grid-panel-head label{flex:1}.ar-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border:1px dashed #8ca8b5;border-radius:8px;min-height:36px}.ar-editor #ar-error{color:#c23b3b}

/* V18.59 — histórico das automações */
.ah-panel{margin-top:18px}.ah-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}.ah-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.ah-filters select,.ah-filters input{width:100%;min-width:0;padding:9px;border:1px solid #8ca8b5;border-radius:8px;background:var(--surface,#fff);color:var(--text,#133348)}.ah-summary{font-weight:600;margin:10px 0}.ah-status{display:inline-block;border:1px solid currentColor;border-radius:8px;padding:3px 7px;font-size:12px;white-space:nowrap}.ah-ok{color:#15803d}.ah-warn{color:#c05b24}.ah-wait{color:#247ca0}.ah-message{white-space:pre-wrap;overflow-wrap:anywhere;max-width:320px}.ah-panel td{vertical-align:top}.ah-panel details{margin-top:6px}.ah-panel summary{cursor:pointer}.ah-panel .cw-fence-tools{align-items:center;margin-top:12px}

/* V18.65 — entrada pública de demonstração */
.cw-demo-login {width:100%;margin-top:12px;background:linear-gradient(115deg,#f5ae58,#e78b35);color:#291a0a;border:1px solid #f7bd77;font-weight:750;justify-content:center;box-shadow:0 5px 18px #e78b3520;}
.cw-demo-login:hover:not(:disabled){background:#ffc17a;color:#291a0a;}
.cw-demo-notice{padding:10px 14px;margin-bottom:14px;border:1px solid #e7a24c80;background:#e7a24c16;color:#f4bd7c;border-radius:12px;font-size:13px;}
.cw-demo-settings form{display:grid;gap:14px;}
.cw-demo-settings select{width:100%;}

@media(min-width:901px){
 #auth-screen:has(#demo-login:not(.hidden)) .auth-right{overflow-y:auto;min-height:0;}
 #auth-screen:has(#demo-login:not(.hidden)) .auth-panel{height:auto;max-height:none;min-height:0;overflow:visible;}
 #auth-screen:has(#demo-login:not(.hidden)) .auth-main{min-height:0;}
 #auth-screen .cw-demo-login{min-height:42px;font-size:clamp(12px,1vw,16px);}
}
/* V18.68: central de alertas, independente do Workflow */
.cw-notification-wrap{position:relative;flex-shrink:0}.cw-notification-bell{position:relative;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#17463f;border:1px solid #28665d;color:#6ee7b7}.cw-notification-bell:hover,.cw-notification-bell[aria-expanded=true]{background:#205c50}.cw-notification-bell:focus-visible,.cw-notification-read:focus-visible{outline:2px solid #6ee7b7;outline-offset:3px}#cw-notification-count{position:absolute;top:-6px;right:-7px;min-width:18px;height:18px;padding:0 4px;border:2px solid #102539;border-radius:999px;background:#dc2626;color:white;font-size:10px;font-weight:800;display:grid;place-items:center}#cw-notification-count[hidden],.cw-notification-panel[hidden]{display:none!important}.cw-notification-panel{position:absolute;right:0;top:calc(100% + 13px);width:min(390px,calc(100vw - 30px));z-index:30;background:#142439;border:1px solid #345268;border-radius:16px;box-shadow:0 16px 48px #0009;color:#e4eff5;overflow:hidden}.cw-notification-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px;border-bottom:1px solid #304456}.cw-notification-panel h2{font-size:17px;margin:0}.cw-notification-panel footer{padding:12px 16px;font-size:10px;color:#a6b9ca;border-top:1px solid #304456}#cw-notification-list{max-height:min(420px,55vh);overflow:auto;overscroll-behavior:contain}.cw-notification-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:13px 16px;border-bottom:1px solid #273b50}.cw-notification-item.unread{background:#193345}.cw-notification-icon{height:32px;border-radius:9px;background:#244357;color:#6ee7b7;display:grid;place-items:center;font-size:20px;font-weight:700}.cw-notification-icon[data-kind=EMERGENCY]{color:#ff8796}.cw-notification-icon[data-kind=FENCE]{color:#d98a70}.cw-notification-item strong{font-size:12px}.cw-notification-item p{font-size:12px;line-height:1.5;margin:4px 0;color:#c0d1dd;overflow-wrap:anywhere;white-space:pre-wrap}.cw-notification-item small{font-size:10px;color:#99afbf}.cw-notification-read{align-self:start;background:transparent;border:1px solid #42776e;color:#6ee7b7;border-radius:8px;width:28px;height:28px}.cw-notification-empty{padding:22px 16px;color:#a9c0d0;font-size:12px;text-align:center}#cw-notification-error:not(:empty){padding:9px 16px;color:#ffb2b2;font-size:11px}.cw-notification-panel button:disabled{opacity:.5;cursor:default}@media(max-width:760px){.top-actions{gap:10px}.cw-notification-panel{position:fixed;top:65px;right:10px}}

/* V18.76: compact automatic presence card, same visual language as communication. */
.cw-presence-panel .cw-bridge-item{gap:6px}.cw-presence-panel .cw-bridge-item strong{font-size:1.08rem;overflow-wrap:anywhere}.cw-presence-in{color:#59e0c1!important}.cw-presence-row{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;padding:9px 2px;border-bottom:1px solid #2c4e604d;font-size:.85rem}.cw-presence-row>span:first-child{min-width:0;overflow-wrap:anywhere}.cw-presence-row small{flex-basis:100%;color:#86aec1}.cw-presence-state{color:#96afbe;font-weight:650}.cw-presence-details{margin-top:10px}.cw-presence-details summary{cursor:pointer;color:#86aec1;font-size:.85rem;padding:5px 0}.cw-presence-panel a{white-space:normal;text-decoration:none}.cw-presence-panel .cw-bridge-header{flex-wrap:wrap}

/* V18.78 — alertas por prioridade */
#cw-notification-count[data-severity=WARNING]{background:#a16207}#cw-notification-count[data-severity=INFO]{background:#2563a6}.cw-notification-icon[data-severity=CRITICAL]{color:#ff8796;background:#502b3c}.cw-notification-icon[data-severity=WARNING]{color:#fbbf24;background:#493e2d}.cw-notification-icon[data-severity=INFO]{color:#8ccfff;background:#244357}.cw-notification-item.unread[data-severity=CRITICAL]{box-shadow:inset 3px 0 #f87171}.cw-notification-item.unread[data-severity=WARNING]{box-shadow:inset 3px 0 #eab308}

/* V18.79: presence uses the same column as Sleep, without outer margins. */
.cw-detail-main > .cw-presence-panel{margin:0;min-width:0;width:100%;box-sizing:border-box}
.cw-presence-unavailable strong{color:#f0c478}.cw-presence-unavailable span{color:#9fb7c6;font-size:.85rem;line-height:1.5}

/* V18.87: parar a animação quando a resposta definitiva chegou. */
.command-visual-feedback.feedback-finished .feedback-symbol, .command-visual-feedback.feedback-finished .feedback-symbol svg {animation:none!important}

/* V18.88: ações simultâneas não descartam o acompanhamento umas das outras. */
#cw-command-feedback-stack{position:fixed;right:22px;bottom:22px;z-index:55;display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior:contain;pointer-events:none;padding:5px;}
#cw-command-feedback-stack .command-visual-feedback{position:relative;right:auto;bottom:auto;flex-shrink:0;pointer-events:auto;}
@media(max-width:700px){#cw-command-feedback-stack{right:9px;bottom:9px;max-height:calc(100dvh - 18px);}}

/* V18.90: modo por WATCH, não altera as grades de grupos. */
.cw-silent-toggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.cw-silent-toggle.is-silent{background:#164e63;color:#e6fffb;border:1px solid #2dd4bf;}
.cw-silent-toggle:disabled{opacity:.7;cursor:default;}
.cw-silent-note{display:block;max-width:180px;margin-top:4px;font-size:11px;}

/* V18.92 — actigrafia, visualização por minuto */
.cw-motion-sleep{border-top:1px solid var(--border, #64748b44);margin-top:16px;padding-top:14px;display:grid;gap:12px;min-width:0}
.cw-motion-sleep h4,.cw-motion-sleep p{margin:0}.cw-motion-settings,.cw-motion-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cw-motion-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.cw-motion-metrics div{display:grid;gap:4px}.cw-motion-metrics strong{font-size:1.15rem}.cw-motion-timeline{display:flex;overflow:hidden;border-radius:6px;height:24px;background:#64748b22}.cw-motion-timeline span{min-width:0}.cw-motion-rest{background:#818cf8}.cw-motion-move{background:#e5a431}.cw-motion-unknown{background:#64748b}.cw-motion-future{background:#64748b22}.cw-motion-axis,.cw-motion-legend{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:.75rem}.cw-motion-legend span{display:flex;align-items:center;gap:5px}.cw-motion-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.cw-motion-sleep form{display:grid;gap:8px}.cw-motion-sleep input[type=time]{min-width:0;width:100%}

/* V18.93 — licenciamento */
.cw-license-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:8px 0 14px;}
.cw-license-checks label{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(130,160,190,.28);border-radius:8px;font-size:.92rem;}
.cw-license-checks label input[type=checkbox]{width:auto;flex:none;margin:0;}
.cw-license-checks label:has(input:disabled){opacity:.65;}
.cw-license-plan-row{justify-content:space-between;}
.cw-license-plan-row select{width:auto;min-width:90px;}

/* V18.99: checkbox de sono isolado dos estilos dos campos de texto. */
.cw-motion-sleep .cw-motion-enable{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:fit-content;max-width:100%;margin:0 0 16px;color:var(--text);font-size:14px;font-weight:600;cursor:pointer;line-height:1.4;text-align:left}
.cw-motion-sleep .cw-motion-enable input[type=checkbox]{appearance:auto;display:inline-block;box-sizing:border-box;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:var(--mint,#62ded5);cursor:pointer}
.cw-motion-sleep .cw-motion-enable input[type=checkbox]:focus-visible{outline:2px solid var(--mint,#62ded5);outline-offset:3px}

/* V18.99.1: ações de gerenciamento alinhadas e responsivas. */
.watch-manage-panel{container-type:inline-size}
.watch-manage-panel .watch-manage-actions{display:grid;grid-template-columns:repeat(var(--manage-count,4),minmax(0,1fr));gap:12px;align-items:stretch}
.watch-manage-panel .watch-manage-actions .btn{width:100%;min-width:0;min-height:42px;padding:8px 6px;white-space:normal;text-align:center;line-height:1.3}
@container (max-width:520px){.watch-manage-panel .watch-manage-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:240px){.watch-manage-panel .watch-manage-actions{grid-template-columns:1fr}}
