:root{color-scheme:dark;--base:#101b20;--panel:#1c3035;--panel2:#172930;--deep:#0b161d;--line:#2a474e;--teal:#42cfc1;--teal-soft:#143f43;--white:#eaf7f7;--muted:#94adb4;--red:#ef747b;--yellow:#f5bb64;--green:#63d9a1;--blue:#78aaff;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--base);color:var(--white);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%}button:disabled{cursor:not-allowed;opacity:.5}input,textarea,select{width:100%;background:#10232b;border:1px solid #35515b;color:#ecf9f9;padding:11px 12px;border-radius:9px;outline:none}textarea{min-height:100px;resize:vertical;line-height:1.5}input:focus,textarea:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 2px #42cfc122}input[type=checkbox]{width:auto}input[type=file]{padding:9px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.boot h1{letter-spacing:.3em;margin:0}.boot p,.small,.muted{color:var(--muted)}.layout{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100dvh}.sidebar{background:#0b191f;border-right:1px solid var(--line);position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:23px 20px 20px;border-bottom:1px solid #1d3a41}.brand img{width:45px;height:45px}.brand strong{font-size:21px;letter-spacing:.17em;display:block;line-height:1.1}.brand small{font-size:9px;letter-spacing:.20em;color:var(--teal)}.nav{padding:15px 10px;overflow-y:auto;flex:1}.nav-title{color:#64828b;font-size:10px;font-weight:800;letter-spacing:.17em;margin:23px 12px 9px}.nav button{width:100%;padding:12px 13px;background:transparent;border:0;color:#b5cdd2;display:flex;align-items:center;gap:12px;text-align:left;border-radius:9px;margin:3px 0}.nav button:hover{background:#18323a;color:white}.nav button.active{background:linear-gradient(100deg,#0c7c8c,#125861);color:white;font-weight:700}.nav button svg,.topbar svg,.action svg{height:19px;width:19px;flex:none}.sidebar-foot{border-top:1px solid var(--line);padding:17px;display:flex;align-items:center;gap:10px}.user-dot{height:35px;width:35px;display:grid;place-items:center;border:1px solid #4b8a92;background:#163941;border-radius:50%;color:var(--teal);font-weight:800}.sidebar-foot strong{display:block;font-size:12px}.sidebar-foot small{color:var(--muted);font-size:11px}.main{min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);padding:0 29px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#0e1d24;position:sticky;top:0;z-index:5}.search{max-width:560px;flex:1;position:relative}.search input{padding-left:40px;background:#13272f;border-color:#27434b}.search svg{position:absolute;left:13px;top:12px;color:#8faab0}.top-actions{display:flex;align-items:center;gap:10px}.btn{border:1px solid #34545c;background:#1a333c;color:var(--white);border-radius:9px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:39px}.btn:hover{background:#24454e}.btn.primary{background:#1bb9bb;border-color:#1bb9bb;color:#05232c;font-weight:750}.btn.primary:hover{background:#42cfc1}.btn.danger{border-color:#7a3941;color:#ffb2b8}.btn.icononly{padding:10px;min-width:39px}.btn.soft{background:#153a42;border-color:#216069;color:var(--teal)}.content{padding:31px 30px 95px;max-width:1600px;margin:0 auto}.content-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:.22em;color:var(--teal);font-weight:800;text-transform:uppercase;margin-bottom:8px}h1{font-size:29px;letter-spacing:-.03em;margin:0 0 6px}h2{font-size:20px;margin:0}h3{font-size:16px;margin:0}p{margin:6px 0 0;line-height:1.6}.caption{color:var(--muted);font-size:12px;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat,.card,.panel{background:linear-gradient(155deg,#1c333b,#14252d);border:1px solid #2d4b54;border-radius:var(--radius)}.stat{padding:18px;min-width:0}.stat-head{display:flex;align-items:center;justify-content:space-between;color:#9ab9c0;font-size:12px}.stat .num{font-size:31px;font-weight:750;letter-spacing:-.05em;display:block;margin:12px 0 5px}.stat .stat-sub{font-size:11px;color:var(--muted)}.stat-icon{height:37px;width:37px;border-radius:10px;background:#153e45;color:var(--teal);display:grid;place-items:center}.stat-icon svg{height:19px;width:19px}.grid2{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.panel{padding:20px;margin-bottom:17px;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:17px}.panel-head h2{font-size:16px}.kicker{border:1px solid #376068;border-radius:99px;background:#153c45;color:#7ce9e2;padding:5px 9px;font-size:11px;white-space:nowrap}.kicker.warning{color:#f3c881;border-color:#725436;background:#4a3728}.kicker.danger{color:#ff9f9f;border-color:#79414a;background:#4f292e}.kicker.success{color:#7de0ad;border-color:#357757;background:#143f36}.project-list{display:grid;gap:10px}.project-row{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #355057;border-radius:10px;background:#13262c}.project-row:hover{border-color:#42cfc1}.project-art{width:48px;height:48px;flex:none;background:linear-gradient(135deg,#21535d,#0c9298);border-radius:9px;display:grid;place-items:center;color:#affff6}.project-art svg{width:23px}.project-info{min-width:0;flex:1}.project-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress{height:6px;background:#0d2027;border-radius:20px;overflow:hidden;margin-top:10px}.progress span{background:linear-gradient(90deg,#139eaf,#42cfc1);display:block;height:100%;border-radius:20px}.info-line{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#9cb5b9}.alert{border-left:3px solid var(--yellow);background:#172d34;padding:13px 13px 13px 17px;border-radius:8px;margin:10px 0}.alert strong{display:block}.alert.danger{border-color:var(--red)}.alert.success{border-color:var(--green)}.alert small{display:block;color:var(--muted);margin-top:5px}.empty{padding:30px 20px;text-align:center;color:var(--muted);border:1px dashed #335560;border-radius:12px}.empty svg{height:36px;width:36px;margin-bottom:8px;color:#4f8a94}.empty strong{color:var(--white);display:block;margin-bottom:6px}.toolbar{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:17px}.row{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.grow{flex:1}.tablewrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;min-width:650px}.table th{text-align:left;color:#7fa4aa;font-size:11px;letter-spacing:.05em;font-weight:700;padding:12px 11px;border-bottom:1px solid var(--line)}.table td{font-size:12px;padding:13px 11px;border-bottom:1px solid #27414a;vertical-align:middle}.table tr:hover td{background:#17313a}.table tr:last-child td{border-bottom:0}.table .actions{display:flex;gap:6px}.table .btn{padding:7px 9px;min-height:auto;font-size:11px}.truncate{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag{display:inline-block;border:1px solid #3b626b;padding:4px 8px;border-radius:7px;font-size:11px;color:#acc4c8}.tag.green{border-color:#387b62;color:#85e5b6}.tag.yellow{border-color:#856b44;color:#f6cb7e}.tag.red{border-color:#905057;color:#ffa3a3}.mini{font-size:11px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:15px}.project-card{background:linear-gradient(145deg,#1f3a43,#14252d);border:1px solid #335560;border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:12px}.project-card .project-art{height:42px;width:42px}.project-card h3{font-size:18px}.project-card .foot{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:auto}.project-card:hover{border-color:var(--teal)}.tabs{display:flex;gap:7px;overflow-x:auto;padding:4px 0 13px;margin-bottom:16px}.tabs button{background:#142e37;color:#a6c5cb;border:1px solid #31535c;padding:9px 14px;border-radius:9px;white-space:nowrap}.tabs button.active{background:#0c737f;color:white;border-color:#17b8b8}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:grid;gap:6px;font-size:12px;color:#a9c2c7}.field.full{grid-column:1/-1}.hint{font-size:11px;color:#91b3bb;line-height:1.5}.modal-shell{position:fixed;inset:0;background:#000b;display:flex;align-items:center;justify-content:center;padding:18px;z-index:40}.modal{background:#142832;border:1px solid #3a656d;box-shadow:0 25px 100px #000a;border-radius:16px;max-width:670px;width:100%;max-height:91dvh;overflow:auto;padding:22px}.modal h2{font-size:20px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:1.1fr minmax(320px,.9fr);background:#09171d}.auth-brand{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(35px,8vw,120px);background:radial-gradient(circle at 20% 20%,#14788442,transparent 45%),linear-gradient(125deg,#0c242c,#10191d)}.auth-brand .hero-logo{width:110px;height:110px}.auth-brand h1{letter-spacing:.19em;font-size:52px;margin:20px 0 6px}.auth-brand .lead{font-size:24px;max-width:480px;margin:26px 0 0;line-height:1.35}.auth-brand .lead b{color:var(--teal)}.auth-box{display:flex;align-items:center;justify-content:center;padding:24px}.auth-card{width:min(100%,440px);background:#142a31;border:1px solid #31525c;border-radius:18px;padding:32px}.auth-card h2{font-size:25px;margin-bottom:7px}.auth-card form{display:grid;gap:15px;margin-top:26px}.notice{padding:12px 14px;background:#1c4048;border:1px solid #367f84;border-radius:9px;color:#d2ffff;line-height:1.5}.notice.error{color:#ffbfc4;background:#48282f;border-color:#8c434e}.toast{position:fixed;right:25px;bottom:22px;z-index:70;background:#1a4a4d;border:1px solid #42cfc1;border-radius:10px;padding:13px 18px;box-shadow:0 8px 45px #0007;max-width:350px}.toast.err{background:#4b2931;border-color:#f08791}.fab{position:fixed;right:26px;bottom:25px;border:1px solid #52e2d8;background:#149ba5;box-shadow:0 8px 40px #0d777677;border-radius:99px;height:54px;padding:0 18px;font-weight:750;color:#03242c;z-index:8}.fab svg{width:19px;vertical-align:middle;margin-right:8px}.chat{display:flex;flex-direction:column;gap:12px;max-width:950px}.bubble{border:1px solid #36585f;border-radius:12px;background:#19333b;padding:16px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#104957;border-color:#267b86;align-self:flex-end;max-width:88%}.bubble.ai{align-self:flex-start;max-width:95%}.chat-input{display:flex;gap:10px;align-items:flex-end}.chat-input textarea{min-height:75px}.viewer{height:min(78dvh,850px);min-height:400px;border:1px solid #395963;background:#071920;border-radius:12px;position:relative;overflow:hidden}.viewer iframe{width:100%;height:100%;border:0;background:white}.viewer img{object-fit:contain;width:100%;height:100%}.viewer svg{height:100%;width:100%;touch-action:pan-x pan-y;background:#0e252c}.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.ann-point{cursor:pointer}.evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.evidence{background:#122832;border:1px solid #33545c;border-radius:10px;padding:9px;min-width:0}.evidence img{height:110px;width:100%;object-fit:cover;border-radius:6px}.evidence .mini{word-break:break-all}.report-preview{max-width:850px;margin:0 auto;background:white;color:#1a232a;padding:35px;border-radius:12px;line-height:1.5}.report-preview h1{font-size:27px;color:#0d565c}.report-preview h2{font-size:17px;margin:18px 0 8px;color:#0d5558}.report-preview table{width:100%;border-collapse:collapse}.report-preview td,.report-preview th{padding:8px;border:1px solid #d1dfe0;text-align:left}.report-preview .reportphoto{width:46%;display:inline-block;margin:1%;vertical-align:top}.report-preview .reportphoto img{height:220px;object-fit:contain;width:100%}.report-preview .reportphoto figcaption{font-size:11px}.bottom-nav{display:none}.mobile-title{display:none}.hide-desktop{display:none}.close-mobile{display:none}
@media(max-width:1100px){.layout{grid-template-columns:211px minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:24px 20px 95px}.grid2{grid-template-columns:1fr}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.layout{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 14px}.topbar .search{max-width:none}.top-actions .user-dot{display:none}.content{padding:21px 14px 105px}.content-title{align-items:flex-start}.content-title h1{font-size:23px}.content-title .btn{font-size:12px;padding:8px 9px}.stats{gap:9px;margin-bottom:12px}.stat{padding:13px}.stat .num{font-size:25px}.stat-head{font-size:11px}.stat-icon{height:30px;width:30px}.panel{padding:14px}.grid3{grid-template-columns:1fr}.project-card{padding:15px}.auth-screen{display:block}.auth-brand{padding:25px;min-height:180px;justify-content:flex-start}.auth-brand .hero-logo{width:55px;height:55px}.auth-brand h1{font-size:27px;margin:6px 0}.auth-brand .lead{font-size:16px;margin:13px 0}.auth-box{padding:16px}.auth-card{padding:21px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#0d2129;border-top:1px solid #35555c;padding:8px 6px calc(9px + env(safe-area-inset-bottom));z-index:15;justify-content:space-around;gap:5px}.bottom-nav button{background:none;border:0;color:#8dafb6;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;min-width:56px}.bottom-nav button.active{color:var(--teal)}.bottom-nav svg{width:21px;height:21px}.mobile-title{display:block;font-weight:800;letter-spacing:.15em;color:var(--teal)}.hide-mobile{display:none}.hide-desktop{display:block}.viewer{height:69dvh;min-height:350px}.viewer-bar{align-items:flex-start}.fab{right:14px;bottom:88px}.modal-shell{align-items:flex-end;padding:0}.modal{border-radius:18px 18px 0 0;max-height:92dvh;padding:18px}.report-preview{padding:17px}.report-preview .reportphoto{width:98%}}
@media print{body{background:white!important;color:black!important}.sidebar,.topbar,.bottom-nav,.fab,.no-print{display:none!important}.layout{display:block}.content{padding:0}.report-preview{max-width:none;padding:0;border:none;box-shadow:none}.report-preview img{break-inside:avoid}.report-preview h2{break-after:avoid}}

/* Interactive project constellation */
.map-scroll{overflow:auto;width:100%;border-radius:12px;background:radial-gradient(ellipse at center,#103c45 0%,#0c222a 42%,#0b1a20 90%)}
.project-map{height:620px;min-width:790px;position:relative;background-image:linear-gradient(#3b737112 1px,transparent 1px),linear-gradient(90deg,#3b737112 1px,transparent 1px);background-size:35px 35px}
.map-edges{position:absolute;inset:0;width:100%;height:100%;stroke:#278c97;stroke-width:1.2;stroke-dasharray:4 5;opacity:.6;pointer-events:none}
.map-hub,.map-node{position:absolute;transform:translate(-50%,-50%);border:1px solid #397d82;background:#112f37;display:flex;align-items:center;gap:10px;border-radius:12px;padding:13px 16px;color:white;box-shadow:0 8px 25px #0006;min-width:180px;text-align:left}
.map-hub{background:#12525b;border-color:var(--teal);box-shadow:0 0 30px #42cfc130;z-index:2;min-width:190px}
.map-node{max-width:220px;z-index:3;cursor:grab;touch-action:none}
.map-node:active{cursor:grabbing}.map-node:hover{border-color:var(--teal);background:#1a4750}
.map-dot{display:grid;place-items:center;color:var(--teal)}.map-node strong,.map-hub strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;max-width:135px}.map-node small,.map-hub small{display:block;color:#9ec1c6;font-size:10px;margin-top:4px}

/* ÓRBITA 1.1 — simplified everyday experience. The advanced modules stay available in “Mais”. */
.more-menu{margin:15px 0 4px;padding-top:8px;border-top:1px solid var(--line)}
.more-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:13px;color:#b6ced2;border-radius:9px;font-weight:600}
.more-menu summary::-webkit-details-marker{display:none}
.more-menu[open] summary,.more-menu summary:hover{background:#17333c;color:var(--teal)}
.more-menu>button{padding-left:24px!important}
.quickstart{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:13px;padding:21px;margin-bottom:18px;border:1px solid #3b7678;border-radius:15px;background:linear-gradient(115deg,#13383c,#142832)}
.quickstart>div:first-child{min-width:190px;flex:1}.quickstart strong{font-size:17px}.quickstart .eyebrow{margin-bottom:3px}
.project-context{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;background:#123037;border:1px solid #2b6770;border-radius:11px;margin-bottom:20px;padding:11px 14px}
.project-context>span{display:flex;align-items:center;gap:8px;color:#b9e5e3}.project-context strong{color:#fff}
.project-context .btn{min-height:35px;padding:8px 10px;font-size:12px}
.report-actions{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px}
.report-actions .btn{flex:1 1 175px}
.kait-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:17px 0 9px}
.kait-facts>div{background:#142d35;border-radius:10px;padding:12px;min-height:78px}
.kait-facts strong{display:block;color:var(--teal);font-size:23px}.kait-facts span{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.mode-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.mode-button{border:1px solid #305760;padding:12px 8px;color:#bfdcde;border-radius:9px;background:#172f36;font-weight:600}
.mode-button.selected{border-color:var(--teal);background:#115967;color:#fff;box-shadow:inset 0 0 0 1px #42cfc122}
.prompt-row{display:flex;gap:8px;flex-wrap:wrap}
.prompt{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;background:#123b42;color:#a3e8e6;border:1px solid #286973;border-radius:99px}
.prompt:hover{background:#18505b}.prompt svg{width:13px;height:13px}
.kait-answer{display:grid;gap:14px;line-height:1.5}.kait-answer p{margin-top:5px}
.kait-result-group{border-top:1px solid #31535b;padding-top:11px;display:grid;gap:7px}
.kait-result-item{display:flex;align-items:center;gap:8px;justify-content:space-between;line-height:1.5}
.kait-result-item>span{flex:1;min-width:0;overflow-wrap:anywhere}
.kait-result-item .btn{padding:5px 8px;min-height:30px;font-size:11px}
.kait-sources{border-top:1px solid #31535b;padding-top:10px}.kait-sources summary{cursor:pointer;color:#89d2d0;font-weight:600}
.more-card{display:flex;align-items:center;gap:13px;background:#163039;border:1px solid #36545d;color:#eff;border-radius:12px;padding:20px;text-align:left;min-height:80px}
.more-card>strong{flex:1}.more-card:hover{background:#1e414a;border-color:var(--teal)}
.report-brand{display:flex;gap:13px;align-items:center}.report-brand img{width:50px;height:50px}.report-brand h1{margin:0;color:#0e565b}
.report-brand small{display:block;color:#258f8c;font-weight:700;margin-top:5px}
.report-footer{margin-top:35px;border-top:1px solid #c6d8d7;padding-top:10px;font-size:10px;color:#42767a;text-align:center}
@media(max-width:760px){.kait-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.quickstart{padding:15px}.quickstart .btn{flex:1 1 140px}.project-context .row{flex:1}.project-context .btn{flex:1}.chat-input{flex-direction:column;align-items:stretch}.chat-input textarea{min-height:90px}.chat-input .btn{width:100%}.kait-result-item{flex-wrap:wrap}.kait-result-item .btn{margin-left:auto}}
@media print{.report-preview{color:#1d343a!important}.report-preview h1{color:#0c545d!important}.report-preview .report-brand img{max-width:50px}.report-preview footer{color:#41797b!important}.report-preview header{break-inside:avoid}}

.license-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;border-color:#b99645}.license-notice strong{color:inherit}@media(max-width:650px){.license-notice{display:block}.license-notice .btn{margin-top:8px}}

.license-gate{position:fixed;inset:0;z-index:9999;background:rgba(8,17,20,.84);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(8px)}.license-gate-card{width:min(100%,510px);background:#1c3035;border:1px solid #44706d;border-radius:22px;padding:28px;text-align:center;color:#e9f6f4;box-shadow:0 25px 80px rgba(0,0,0,.45)}.license-gate-card h2{font-size:23px;margin:14px 0}.license-gate-card p{line-height:1.55;color:#adc4c5}.license-gate-card .row{display:flex}.license-gate-card button{min-width:150px}@media(max-width:500px){.license-gate-card{padding:22px}.license-gate-card h2{font-size:20px}}

/* ÓRBITA 2.2.3 — análise operacional legível e relatório profissional */
.kait-insights{display:grid;gap:15px}.kait-summary{background:linear-gradient(135deg,#123f47,#143038);border:1px solid #2b7d80;border-radius:14px;padding:20px}.kait-summary-heading{display:flex;align-items:center;gap:9px;color:var(--teal);font-weight:800}.kait-summary p{font-size:15px;line-height:1.65;margin-top:12px}.kait-label{font-size:11px;color:#a2d2d4;border:1px solid #2d7379;padding:5px 9px;border-radius:30px;margin-left:auto;font-weight:500}.kait-insight-stats{display:flex;flex-wrap:wrap;gap:9px}.kait-insight-stats>span{display:flex;align-items:center;gap:6px;background:#122c34;border:1px solid #31545d;padding:10px 13px;border-radius:9px;color:#bed7da;font-size:12px}.kait-section{border:1px solid #34535c;border-radius:12px;background:#122832;overflow:hidden}.kait-section-title{display:flex;justify-content:space-between;align-items:center;background:#1a3941;padding:12px 16px;color:#e6f7f6;font-weight:800}.kait-section-riscos .kait-section-title{border-left:3px solid #f3bb6d}.kait-section-recomendacoes .kait-section-title{border-left:3px solid #42cfc1}.kait-count{font-size:11px;color:#acd0d2;background:#113039;border:1px solid #39656b;border-radius:25px;padding:3px 8px}.kait-list{padding:3px 16px 8px}.kait-row{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #284751;padding:12px 0;line-height:1.55;overflow-wrap:anywhere}.kait-row:last-of-type{border-bottom:0}.kait-bullet{width:7px;height:7px;border-radius:100%;background:#42cfc1;flex:none;margin-top:8px}.kait-item-body{flex:1;min-width:0}.kait-item-body strong{display:block}.kait-item-meta{font-size:11px;color:#a2bbc1;margin-top:5px}.kait-row .btn{font-size:11px;padding:7px 9px;min-height:32px}.kait-sources{padding:14px;background:#122832;border:1px solid #33545b;border-radius:10px}.kait-sources summary{display:flex;align-items:center;gap:8px;cursor:pointer;color:#91e4df;font-weight:700}.kait-sources .kait-section{margin-top:12px}.kait-disclaimer{display:flex;align-items:center;gap:9px;padding:13px;color:#b2c9ce;border:1px solid #35525a;border-radius:10px;font-size:12px}.kait-error{color:#ffc6c6;background:#40252b;border:1px solid #8d4a50;padding:14px;border-radius:10px}.kait-raw{white-space:pre-wrap;overflow-wrap:anywhere}.bubble.ai:has(.kait-insights){max-width:100%;width:100%;padding:12px;background:transparent;border:0}.report-warnings{margin:12px 0 18px}.report-warnings ul{margin:7px 0;padding-left:19px}.report-preview{padding:38px 42px;font-size:13px;color:#20383a;line-height:1.55}.report-preview .report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:3px solid #159b9c;padding:0 0 22px}.report-preview .report-heading{text-align:right}.report-preview .report-heading strong{display:block;font-size:13px;letter-spacing:.06em;color:#12454a}.report-preview .report-heading small{color:#6c8588}.report-preview .report-subhead{padding:22px 0 8px}.report-preview .report-subhead h2{margin:4px 0 5px;font-size:25px}.report-preview .report-subhead p{margin:3px 0}.report-preview .report-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#0a9295}.report-preview .report-dot{padding:0 6px;color:#7f9a9c}.report-preview .report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 24px}.report-preview .report-metrics>div{background:#eef7f6;border:1px solid #d4e8e7;border-radius:9px;padding:11px;display:grid;gap:3px}.report-preview .report-metrics strong{font-size:22px;color:#0c7478}.report-preview .report-metrics span{font-size:10px;color:#527278}.report-preview h2{color:#0d6265;font-size:17px;border-bottom:1px solid #cfdfde;padding-bottom:6px;margin:24px 0 12px}.report-preview .report-review-notes{padding:12px 15px;background:#fff8e9;border:1px solid #e9d4a4;border-left:4px solid #d7a350;border-radius:8px;margin:15px 0;break-inside:avoid}.report-preview .report-review-notes ul{margin:8px 0 0;padding-left:19px}.report-preview .report-entry{padding:14px 0;border-bottom:1px solid #d9e6e7;break-inside:avoid}.report-preview .report-entry-head{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}.report-preview .report-mini{color:#62797c;font-size:11px;line-height:1.5}.report-preview .report-data-label{font-weight:750;font-size:11px;color:#345c60;margin-top:12px}.report-preview .report-lines{white-space:pre-line;line-height:1.55;margin-top:4px;overflow-wrap:anywhere}.report-preview .report-entry-warning{font-size:11px;color:#956114;border-left:3px solid #dbac53;background:#fff8e6;padding:9px;margin:12px 0 0}.report-preview .report-warning-tag{font-size:10px;font-weight:750;color:#896011;background:#fff0c7;border-radius:30px;padding:4px 8px}.report-preview .report-empty{background:#f0f6f6;border:1px solid #d9e5e5;padding:12px;border-radius:8px;color:#526a6f}.report-preview .report-table{margin:10px 0}.report-preview .report-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.report-preview .report-photo{margin:0;border:1px solid #d7e5e4;border-radius:8px;padding:9px;break-inside:avoid;page-break-inside:avoid;overflow:hidden}.report-preview .report-photo img{width:100%;height:198px;object-fit:contain;display:block}.report-preview .report-photo figcaption{font-size:10px;color:#49656a;margin-top:8px}.report-preview .report-photo figcaption small{display:block;color:#899da0;overflow-wrap:anywhere}.report-preview .report-ai{padding:14px 16px;background:#eef7f6;border-radius:10px;border:1px solid #d4e5e2;break-inside:avoid}.report-preview .report-ai strong{display:block;margin:12px 0 5px}.report-preview .report-ai ul{margin:6px 0;padding-left:20px}.report-preview .report-ai small{display:block;margin-top:10px}.report-preview .report-legal{font-size:12px;color:#4b6468}.report-preview .report-signature{margin-top:46px;border-top:1px solid #789698;padding-top:10px}
@media(max-width:760px){.kait-summary{padding:15px}.kait-label{display:none}.kait-row{flex-wrap:wrap}.kait-row .btn{margin-left:19px}.report-preview{padding:18px}.report-preview .report-header{flex-wrap:wrap}.report-preview .report-heading{text-align:left}.report-preview .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-preview .report-photo-grid{grid-template-columns:1fr}}
@media print{
 @page{size:A4;margin:15mm}
 body{background:#fff!important;color:#20383a!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .sidebar,.topbar,.bottom-nav,.fab,.no-print,.project-context,.license-notice,.toast{display:none!important}
 .layout{display:block!important;min-height:0!important}
 .main{display:block!important}.content{padding:0!important;max-width:none!important;margin:0!important}
 .report-preview{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;max-width:none!important;box-shadow:none!important;font-size:11px}
 .report-preview .report-entry{break-inside:avoid-page;page-break-inside:avoid}
 .report-preview .report-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .report-preview .report-photo img{height:165px!important}
 .report-preview .report-metrics>div,.report-preview .report-ai,.report-preview .report-review-notes{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
 .report-preview h2{break-after:avoid;page-break-after:avoid}
 .report-preview .report-header,.report-preview .report-photo{break-inside:avoid;page-break-inside:avoid}
}
/* ÓRBITA 2.2.3 — conferência assistida dos materiais (não altera estoque) */
.material-review-list{display:grid;gap:12px;margin:18px 0}.material-review-item{padding:16px!important}.material-review-top{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}.material-review-check{display:flex;align-items:flex-start;gap:10px;flex:1;line-height:1.4;min-width:180px}.material-review-check input{width:17px;height:17px;accent-color:#42cfc1;margin-top:3px;flex:none}.material-review-grid{display:grid;grid-template-columns:1fr 1.5fr minmax(95px,.5fr);gap:12px;margin-top:15px}.material-review-grid label{display:grid;gap:6px;font-size:11px;color:#a4c0c4}.material-review-grid input,.material-review-grid select{width:100%;min-width:0;background:#10262e;border:1px solid #3a5d65;color:#d9f0f0;padding:10px;border-radius:8px;font:inherit;font-size:13px}.material-review-grid input:disabled,.material-review-grid select:disabled{opacity:.6}.material-review-notice{line-height:1.6}.kait-material-cta{display:flex;gap:12px}
@media(max-width:700px){.material-review-grid{grid-template-columns:1fr}.material-review-top{display:block}.material-review-top .tag{display:inline-block;margin-top:8px}}

/* KaiT — interpretação de listas de materiais (WhatsApp e PDF transcrito) */
.supply-item{border:1px solid var(--border,#31515a);border-radius:12px;padding:14px;margin:12px 0;background:rgba(25,49,56,.38)}
.supply-fields{display:grid;grid-template-columns:minmax(110px,1fr) minmax(95px,1fr) minmax(250px,3fr);gap:12px;margin:12px 0}
.supply-fields label{display:flex;flex-direction:column;font-size:.84rem;color:var(--muted,#afc9ce);gap:6px}
.supply-fields input,.supply-fields select{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:740px){.supply-fields{grid-template-columns:1fr 1fr}.supply-fields .full{grid-column:1/-1}.supply-item{padding:10px}}

/* Relatórios revisáveis, sem alert do navegador */
.report-detail{margin:0 0 18px;border:1px solid #3e777b;background:linear-gradient(145deg,#19363e,#132b34)}
.report-detail .panel-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.report-detail .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.report-detail .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.report-detail .form-grid label:has(textarea){grid-column:1/-1}
.report-detail textarea,.report-detail input{min-width:0;width:100%}
.report-detail h3{margin:20px 0 8px;font-size:14px;color:#d7eeee}
.report-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 15px}
.report-detail-grid>div{background:#0e2530;padding:13px;border:1px solid #315861;border-radius:9px;display:grid;gap:5px}
.report-detail .report-lines{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.report-original{margin:15px 0;border:1px solid #2d5058;border-radius:10px;padding:12px}
.report-original summary{cursor:pointer;color:#80d9d5;font-weight:700}
.report-original pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font-family:inherit;font-size:12px}
.report-history-row{padding:10px 0;border-bottom:1px solid #36545d}
.report-ai-review{padding:15px;margin-top:14px;border:1px solid #2c7676;border-radius:12px;background:#102e36}
.report-ai-review li{margin:7px 0}.report-ai-review .kait-summary{padding:12px}
@media(max-width:760px){.report-detail-grid,.report-detail .form-grid{grid-template-columns:1fr}.report-detail .form-grid label:has(textarea){grid-column:auto}}
@media print{.report-detail{display:none!important}}

/* ÓRBITA 2.2.5 — contextos de obra independentes */
.project-selector-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:15px 19px;margin-bottom:20px;background:#102e35;border:1px solid #32636a;border-radius:14px}
.project-selector-label{display:grid;gap:4px;min-width:210px;flex:1}.project-selector-label strong{font-size:19px;color:#f2fafa}.project-selector-label small{font-size:12px;color:#a9c7ca;line-height:1.5}.project-selector-actions{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.project-picker-label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#9dd9d8;min-width:220px}.project-picker-label select{min-height:42px;background:#0d252d;border:1px solid #4b7c81;border-radius:9px;padding:8px 32px 8px 11px;font:inherit;font-size:13px;color:#f4ffff;max-width:330px}.project-hero{background:linear-gradient(125deg,#143d43,#152d34);border:1px solid #39747a;border-radius:16px;padding:25px;margin-bottom:18px}.project-hero-top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:start}.project-hero h1{font-size:28px;margin:8px 0}.project-scope{border-top:1px solid #315760;margin-top:18px;padding-top:15px}.project-scope strong{color:#9ad9d8}.project-scope p{margin:6px 0 0;color:#d4e8e9;line-height:1.65;white-space:pre-line}.project-stats{margin:16px 0}.project-progress-line{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px;color:#bdece8}.project-progress-line .caption{margin-left:auto}.project-detail-grid .panel{min-width:0}.project-kpi-detail{display:flex;gap:12px;align-items:baseline;padding:16px 0}.project-kpi-detail strong{font-size:27px;color:#42cfc1}.project-kpi-detail span{color:#b3cfd1;font-size:13px}.project-switch-card.selected{border-color:#42cfc1}.project-switch-facts{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.project-switch-facts span{background:#102e35;border:1px solid #315862;border-radius:20px;padding:6px 9px;color:#a8d6d7;font-size:11px}.report-filter-banner{margin:12px 0 17px;padding:15px 18px;background:#14343a;border:1px solid #387379;border-radius:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.report-filter-banner p{margin:6px 0 0}.report-detail #report-move-form{padding:17px;margin:12px 0;background:#122b33;border:1px solid #376971;border-radius:11px}.report-detail #report-move-form .field{max-width:440px}
@media(max-width:730px){.project-selector-bar{padding:13px}.project-selector-actions{width:100%}.project-picker-label{flex:1;min-width:160px}.project-picker-label select{max-width:none;width:100%}.project-hero{padding:18px}.project-hero h1{font-size:24px}.project-progress-line .caption{margin-left:0}.report-filter-banner .row{width:100%}}

/* ÓRBITA 2.2.7 — ações claras de edição e painel de materiais compacto */
.material-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:16px 0 18px}.material-overview>div{padding:17px 19px;border-radius:12px;background:#17343d;border:1px solid #315960;display:flex;gap:5px;flex-direction:column}.material-overview strong{font-size:24px;color:#e6fafa}.material-overview span{color:#9bbcc0;font-size:12px}.material-main-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0 17px}.material-view-switch{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.material-table{width:100%;font-size:13px}.material-table th{white-space:nowrap}.material-table .numeric{font-variant-numeric:tabular-nums;font-weight:700}.material-table td{vertical-align:middle}.material-caution{color:#e4bc75!important}.material-footnote{display:flex;align-items:flex-start;gap:9px;padding:15px;border-radius:11px;background:#102831;border:1px solid #33545c;margin-top:16px;color:#adc9cb;font-size:12px;line-height:1.5}.material-footnote svg{flex:none}.project-hero .project-hero-top>.row{gap:12px;align-items:center}.material-table .btn{white-space:nowrap}
@media(max-width:750px){.material-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.material-overview>div{padding:11px 9px}.material-overview strong{font-size:20px}.material-overview span{font-size:10px}.material-table{min-width:800px}.material-main-actions .btn{flex:1 1 auto}}

/* ÓRBITA 2.2.10 — seleção múltipla e arquivamento seguro do catálogo */
.material-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 16px;padding:11px 14px;border:1px solid #38646a;border-radius:10px;background:#102a32}
.material-select-label{display:flex;align-items:center;gap:8px;color:#deeff0;font-size:13px;font-weight:600;cursor:pointer}
.material-pick-row,.material-select-label input{width:18px;height:18px;accent-color:#42cfc1;cursor:pointer}
.material-select-col{width:56px}.material-bulk-toolbar .btn{margin-left:auto}.material-bulk-toolbar .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.material-bulk-toolbar .btn{margin-left:0;width:100%;justify-content:center}.material-bulk-toolbar{gap:10px}}

/* ÓRBITA 2.2.11 — arquivos organizados e envio múltiplo de fotografias */
.files-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 17px}.files-tab{cursor:pointer;border:1px solid #345e64;border-radius:11px;background:#17323a;color:#c2e0e1;padding:11px 15px;font:inherit;font-size:13px;font-weight:650}.files-tab.active{background:#1bb9bb;border-color:#1bb9bb;color:#08232b}.files-tab span{display:inline-block;margin-left:7px;border-radius:50px;padding:2px 8px;background:#ffffff13;font-size:11px}.files-tab.active span{background:#08374133}.files-header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0 18px}.file-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:14px}.file-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px}.file-tile{min-width:0;display:flex;flex-direction:column;gap:12px;padding:13px;border:1px solid #365762;border-radius:14px;background:linear-gradient(150deg,#1b343e,#142831)}.file-tile.is-photo{padding:9px}.file-thumb{width:100%;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:9px;background:#10272f}.file-thumb img{display:block;width:100%;height:100%;object-fit:cover}.file-document-icon{height:94px;display:grid;place-items:center;background:#122b33;border:1px dashed #3c6069;border-radius:9px;color:#42cfc1}.file-tile-text{min-width:0;display:grid;gap:5px}.file-tile-text strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edffff;font-size:13px}.file-tile-text .caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.file-meta{font-size:11px;color:#80b9bd}.file-tile-actions{display:flex;gap:9px;justify-content:space-between;margin-top:auto}.file-tile-actions .btn{padding:8px 10px;min-height:35px;font-size:12px}.bulk-preview-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:9px;margin-top:12px;max-height:290px;overflow-y:auto}.bulk-preview-card{min-width:0;border:1px solid #3b646c;padding:6px;border-radius:9px;background:#0d252e}.bulk-preview-card img{display:block;width:100%;height:80px;object-fit:cover;border-radius:5px}.bulk-preview-card span{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b2d3d5;margin-top:5px}#bulk-photo-status .notice{margin-top:10px}#bulk-photo-status ul{padding-left:18px;max-height:150px;overflow:auto}
@media(max-width:640px){.files-tabs{display:grid;grid-template-columns:1fr;gap:6px}.files-tab{text-align:left}.file-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.file-document-grid{grid-template-columns:1fr}.file-tile{padding:9px}.file-thumb{aspect-ratio:1/1}.file-tile-actions{gap:4px}.file-tile-actions .btn{padding:7px 8px}.files-header{margin:10px 0}}

/* ÓRBITA 2.2.11 — páginas operacionais mais limpas, sem perda das ações existentes */
.compact-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}
.compact-project{padding:18px;border:1px solid #365960;border-radius:14px;background:linear-gradient(140deg,#1a333b,#142830);min-width:0}
.compact-project h3{margin:0 0 5px;overflow-wrap:anywhere;font-size:17px}
.compact-project .project-switch-facts{margin:13px 0}
.compact-project-actions{display:flex;gap:8px;flex-wrap:wrap}.compact-project-actions .btn{flex:1}
.project-hero-compact{padding:17px 20px}.project-hero-compact h1{font-size:22px;margin:5px 0 3px}.project-hero-compact .project-hero-top{align-items:center}
.project-scope-compact{border-top:1px solid #315760;margin-top:12px;padding-top:10px}
.project-scope-compact summary{cursor:pointer;color:#9ad9d8;font-size:12px;font-weight:600}
.project-scope-compact p{max-width:900px;color:#d4e8e9;line-height:1.6;white-space:pre-wrap;margin:10px 0 0}
.task-sections{display:grid;gap:16px}.task-list-item{padding:13px 0;border-top:1px solid #2f5158;display:flex;gap:12px;justify-content:space-between;align-items:start}
.task-list-item:first-child{border-top:0}.task-list-info{min-width:0;flex:1}.task-list-info strong{font-size:14px;overflow-wrap:anywhere}
.task-list-info .task-desc{margin:5px 0 0;max-width:850px;overflow-wrap:anywhere}
.task-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:9px;color:#9cbec3;font-size:11px}
.task-meta>span:not(.tag){border-right:1px solid #35565d;padding-right:9px}
.task-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.task-actions .btn{font-size:12px}
.count-pill{padding:5px 11px;border-radius:50px;background:#113941;color:#9af2e9;font-size:12px;font-weight:700}
.completed-tasks summary{cursor:pointer;padding:14px 0;color:#91d1d1}
.request-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#aed2d3;margin:0 0 16px}
.request-list{display:grid;gap:12px}.request-card{background:linear-gradient(135deg,#1c333b,#142930);border:1px solid #355a62;border-radius:13px;padding:17px 19px;min-width:0}
.request-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.request-main{min-width:0}.request-main h3{margin:0 0 5px;font-size:16px;overflow-wrap:anywhere}
.request-summary{margin-top:12px;color:#cbebec;overflow-wrap:anywhere;font-size:12px}
.request-pending{color:#e1b779;margin-top:7px}
.request-details{margin-top:12px;border-top:1px solid #31535b;padding-top:11px}
.request-details summary{color:#6ce3d9;cursor:pointer;list-style:auto;font-size:12px;font-weight:650}
.request-items{max-height:340px;overflow:auto;margin:10px 0;padding:0 4px 0 22px;display:grid;gap:8px}
.request-items li{line-height:1.5;color:#d0e7e9;overflow-wrap:anywhere}
.request-actions{margin-top:13px;display:flex;justify-content:flex-end}
@media(max-width:760px){.compact-project-grid{grid-template-columns:1fr}.project-hero-compact{padding:14px}.project-hero-compact h1{font-size:20px}.task-list-item{display:block}.task-actions{margin-top:10px}.request-card{padding:13px}.request-topline{flex-wrap:wrap}}

/* ÓRBITA 2.2.12 — non-destructive startup recovery */
.boot-recovery{max-width:520px;margin:auto;padding:30px;text-align:center}
.boot-recovery h2{font-size:19px;line-height:1.4;margin:22px 0 12px}
.boot-recovery p{max-width:460px;margin:12px auto;line-height:1.6}
.boot-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:22px 0}
.boot-actions .btn{min-height:43px}

/* ÓRBITA 2.2.14 — objective indicators / responsive charts */
.overview-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:17px 0 19px}
.overview-kpi{min-width:0;border:1px solid #31525b;background:linear-gradient(145deg,#1c363e,#132830);border-radius:13px;padding:17px 15px;box-shadow:0 6px 20px #07141925}
.overview-kpi-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b2ced1;font-size:12px}
.overview-kpi-label svg{color:#4fcfc9;flex:none}
.overview-kpi-value{font-size:32px;display:block;line-height:1.2;margin:13px 0 8px;color:#f4ffff;font-variant-numeric:tabular-nums}
.overview-kpi-note{font-size:11px;color:#94b4bb;line-height:1.45}
.overview-charts{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,.95fr) minmax(0,.95fr);gap:14px;align-items:stretch;margin-bottom:18px}
.overview-charts>.panel{margin:0;min-width:0;display:flex;flex-direction:column}
.overview-panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.overview-panel-title h2{font-size:17px;margin:6px 0 0;letter-spacing:-.015em}
.overview-progress-content{display:flex;gap:24px;align-items:center;flex:1}
.completion-donut{width:160px;height:160px;flex:none;border-radius:50%;background:conic-gradient(#39d0c4 var(--percent),#2a454c var(--percent) 100%);display:grid;place-items:center;position:relative;box-shadow:0 5px 25px #0002}
.completion-donut-core{width:calc(100% - 28px);height:calc(100% - 28px);border-radius:50%;background:#182f36;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.completion-donut-core span{font-size:33px;font-weight:800;color:#f1ffff;line-height:1.2;font-variant-numeric:tabular-nums}
.completion-donut-core small{font-size:11px;color:#90ced0;margin-top:3px}
.overview-progress-copy{min-width:0}
.overview-progress-copy strong{display:block;color:#e7ffff;font-size:16px;line-height:1.3}
.overview-progress-copy p{margin:10px 0 15px;line-height:1.5}
.overview-methodology{margin:22px 0 0;color:#8daeb5;font-size:11px;line-height:1.5;border-top:1px solid #315058;padding-top:11px}
.overview-status-bars{display:grid;gap:16px;flex:1;align-content:center}
.overview-status-line{display:flex;justify-content:space-between;align-items:center;color:#c9e4e6;font-size:12px;gap:10px;margin-bottom:7px}
.overview-status-line span{display:inline-flex;align-items:center;gap:9px}
.overview-status-line strong{font-variant-numeric:tabular-nums}
.overview-key{width:9px;height:9px;border-radius:4px;display:inline-block}
.overview-track{height:9px;background:#0d252b;border-radius:99px;overflow:hidden}
.overview-fill{display:block;height:100%;border-radius:99px;transition:width .25s ease}
.overview-fill.done,.overview-key.done{background:#36cdbd}
.overview-fill.running,.overview-key.running{background:#74b5f5}
.overview-fill.pending,.overview-key.pending{background:#e7b66a}
.overview-fill.blocked,.overview-key.blocked{background:#eb858e}
.overview-chart-note{margin-top:20px;line-height:1.5}
.daily-chart{display:flex;align-items:stretch;justify-content:space-between;gap:8px;min-height:185px;flex:1}
.daily-chart-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}
.daily-chart-plot{width:100%;max-width:36px;height:150px;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:4px}
.daily-chart-bar{width:100%;border-radius:6px 6px 2px 2px;min-height:3px;background:linear-gradient(180deg,#49d9cc,#137f91)}
.daily-chart-count{font-size:11px;min-height:15px;color:#d5ffff;font-variant-numeric:tabular-nums}
.daily-chart-date{color:#9dc0c6;font-size:10px;text-transform:capitalize;white-space:nowrap}
.overview-secondary{margin-top:18px}
.overview-secondary .panel{min-width:0}
.overview-portfolio{margin-top:17px}
.overview-portfolio-list{display:grid;gap:10px}
.overview-portfolio-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1fr) auto;align-items:center;gap:20px;padding:13px 5px;border-bottom:1px solid #2a454d}
.overview-portfolio-row:last-child{border-bottom:0}
.overview-portfolio-row strong{display:block;overflow-wrap:anywhere}
.overview-portfolio-row .caption{display:block;margin-top:4px}
.overview-portfolio-progress{display:flex;align-items:center;gap:10px}
.overview-portfolio-progress .overview-track{flex:1}
.overview-portfolio-progress strong{min-width:77px;text-align:right;color:#79e9dc;font-size:12px}
.kait-local-overview{border-top:1px solid #38565e;margin-top:15px;padding-top:14px}
.kait-context-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}
.kait-context-grid>span{border:1px solid #315e63;border-radius:9px;background:#112e34;padding:11px 7px;text-align:center;font-size:11px;color:#b8d3d5}
.kait-context-grid strong{display:block;color:#5be2d7;font-size:19px;font-variant-numeric:tabular-nums}
@media(max-width:1500px){.overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-daily-panel{grid-column:1/-1}.daily-chart-plot{max-width:54px}}
@media(max-width:970px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-charts{grid-template-columns:1fr}.overview-daily-panel{grid-column:auto}.overview-progress-content{justify-content:flex-start}.kait-context-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.overview-kpis{gap:9px}.overview-kpi{padding:13px 11px}.overview-kpi-value{font-size:28px;margin:10px 0 6px}.overview-kpi-label{font-size:11px}.overview-progress-content{gap:14px;flex-wrap:wrap}.completion-donut{height:139px;width:139px}.overview-progress-copy{flex:1;min-width:150px}.overview-portfolio-row{grid-template-columns:1fr auto;gap:9px}.overview-portfolio-progress{grid-column:1/-1;grid-row:2}.overview-portfolio-row .btn{grid-column:2;grid-row:1}.kait-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Filter replaces the duplicated large project summary on Dashboard only. */
.dashboard-work-filter{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 22px;padding:10px 16px;background:#132c33;border:1px solid #31555d;border-radius:11px}
.dashboard-work-label{font-size:11px;letter-spacing:.12em;font-weight:800;color:#6cd7d3;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.dashboard-work-label strong{font-size:13px;letter-spacing:0;color:#e3ffff}
.dashboard-work-select{display:flex;align-items:center;gap:10px;font-size:11px;color:#b5d5d8}
.dashboard-work-select select{width:min(280px,48vw);min-height:37px;padding:7px 11px;font-size:12px}
@media(max-width:540px){.dashboard-work-filter{padding:10px 12px;gap:8px}.dashboard-work-label{font-size:10px}.dashboard-work-select{width:100%;justify-content:space-between}.dashboard-work-select select{width:75%;max-width:none}}

/* ÓRBITA 2.2.15 — medição por quantitativos, evidências e aprovação humana */
.measure-dashboard-banner,.measure-summary{background:linear-gradient(110deg,#10363b,#142b34);border:1px solid #31707a;border-radius:14px;padding:21px 25px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:4px 0 20px}
.measure-dashboard-summary{flex:1;min-width:0}.measure-dashboard-summary strong{font-size:24px;display:block;margin:6px 0 8px}.measure-dashboard-summary p{margin:0;max-width:740px;line-height:1.5}
.measure-dashboard-bar{min-width:250px;max-width:360px;flex:1;display:flex;flex-direction:column;align-items:flex-end;gap:13px}
.measure-progress-track{height:13px;background:#0d252b;border:1px solid #31555e;border-radius:99px;overflow:hidden;width:100%}
.measure-progress-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#117e8f,#46d8cd);transition:width .25s}
.measure-summary{align-items:stretch}.measure-big{min-width:200px;display:flex;flex-direction:column;justify-content:center}.measure-big span{font-size:10px;font-weight:800;letter-spacing:.13em;color:#5be0d6}.measure-big strong{font-size:56px;line-height:1.1;margin:6px 0;color:#f3ffff}.measure-big small{color:#bad3d7}.measure-summary-info{flex:1;align-self:center;max-width:720px}
.measure-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}.measure-highlights span{background:#0b262e;border:1px solid #34555e;padding:12px 8px;border-radius:9px;color:#aac8cb;font-size:11px;text-align:center}.measure-highlights strong{display:block;color:#edffff;font-size:21px}
.measure-target-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:15px 0}.measure-total td{font-weight:800;color:#64e1d5}.measure-review-info{border-bottom:1px solid #31545b;margin-top:14px;padding:10px 0;color:#b9d8db}
.measure-proposals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}.measure-proposal{padding:16px;border:1px solid #31565c;border-radius:12px;background:#122f36;min-width:0}.measure-proposal blockquote{font-style:normal;padding:12px 14px;margin:13px 0;color:#d9eff0;background:#0e252b;border-left:3px solid #42cfc1;border-radius:4px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.measure-proposal .row{align-items:center}.measure-history{display:grid;gap:8px}.measure-history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #2e4d55;padding:12px 0}.measure-history-row:last-child{border-bottom:0}.measure-history-row .caption{margin-top:5px;overflow-wrap:anywhere}
@media(max-width:900px){.measure-dashboard-banner,.measure-summary{flex-direction:column;align-items:stretch;gap:15px}.measure-dashboard-bar{max-width:none;align-items:flex-start}.measure-proposals{grid-template-columns:1fr}.measure-target-grid{grid-template-columns:1fr 1fr}.measure-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.measure-target-grid{grid-template-columns:1fr}.measure-dashboard-banner,.measure-summary{padding:17px}.measure-big strong{font-size:48px}.measure-history-row{flex-wrap:wrap}}

/* ÓRBITA 2.2.16 — medição validada por etapas e revisão KaiT */
.stage-dashboard-banner {border-color:rgba(40,198,190,.4)}
.stage-overview {display:flex;flex-direction:column;gap:5px;padding:12px 16px;background:rgba(31,185,184,.09);border:1px solid rgba(31,185,184,.22);border-radius:12px;margin:14px 0}
.stage-overview strong {font-size:20px;color:#d8fdfc}
.stage-overview small {color:var(--muted,#9ab4bf)}
.stage-rows {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin:12px 0 18px}
.stage-row {border:1px solid rgba(130,181,190,.22);background:rgba(12,37,47,.35);padding:14px;border-radius:12px}
.stage-row-head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:14px}
.stage-row-head span {color:#80e0de;white-space:nowrap}
.stage-row .caption {margin-top:7px}
.stage-settings {border-top:1px solid rgba(130,181,190,.23);padding-top:14px;margin-top:12px}
.stage-settings summary {cursor:pointer;color:#55d9d4;font-weight:700;padding:4px 0}
.stage-settings p {margin:12px 0}
.stage-config-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px;margin:16px 0}
.stage-config-item {border:1px solid rgba(130,181,190,.23);border-radius:12px;padding:12px;display:grid;gap:9px}
.stage-config-item .field {margin-bottom:0}
.stage-manual-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:15px 0}
.stage-alerts {padding:13px 15px;margin:12px 0;border:1px solid rgba(225,162,82,.45);border-radius:11px;background:rgba(225,162,82,.07)}
.stage-alerts strong {display:block;margin-bottom:9px}
.stage-alerts div {margin-top:5px;display:flex;gap:7px;align-items:center;color:#ecc18b}
@media(max-width:640px){.stage-config-grid,.stage-rows {grid-template-columns:1fr}.stage-row-head {flex-wrap:wrap}}
@media(max-width:760px){.main,.content{min-width:0;max-width:100vw}.content{overflow-x:clip}.stage-overview,.stage-row,.stage-config-item{min-width:0}}


/* ÓRBITA 2.2.17 — visão de medição limpa e segmentada (sem mudanças no D1/R2) */
.measure-page .content-title{margin-bottom:16px}
.measurement-tabs{display:flex;align-items:center;gap:6px;padding:5px;margin-bottom:19px;background:#0e2028;border:1px solid #284750;border-radius:12px;width:max-content;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.measurement-tab{border:1px solid transparent;background:transparent;border-radius:8px;padding:11px 17px;color:#a6c4cb;font-size:13px;font-weight:650;white-space:nowrap}
.measurement-tab:hover{background:#18333b;color:#e9fafa}.measurement-tab.active{background:#174d53;border-color:#2a8389;color:#dcfffb;box-shadow:0 1px 0 rgba(0,0,0,.2)}
.measurement-tab:focus-visible{outline:2px solid #4fe1d6;outline-offset:2px}
.measure-vitals{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.45fr);gap:18px;margin-bottom:16px}
.measure-vitals-main{padding:24px 26px;background:linear-gradient(145deg,#144149,#143039);border:1px solid #397078;border-radius:14px}
.measure-vitals-value{font-size:56px;line-height:1.1;display:block;margin:7px 0 13px;letter-spacing:-.04em;color:#edffff}
.measure-vitals-main>.measure-progress-track{height:9px}.measure-vitals-main .caption{margin-top:11px;max-width:400px}
.measure-vitals-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.measure-vitals-metrics>div{background:linear-gradient(145deg,#1a323b,#13272e);border:1px solid #2e5058;border-radius:12px;padding:19px 20px;display:flex;flex-direction:column;justify-content:space-between;gap:9px;min-width:0}
.measure-vitals-metrics span{color:#9dc0c8;font-size:12px}.measure-vitals-metrics strong{color:#edfbfb;font-size:28px;line-height:1.15;letter-spacing:-.03em}.measure-vitals-metrics small{font-size:13px;color:#8db0ba;letter-spacing:0;font-weight:450}
.measure-action-bar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:8px 0 19px}.measure-action-bar .caption{margin-left:auto}
.measure-overview-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}.measure-clean-panel{margin:0}
.measure-stage-list,.measure-box-list{display:grid;gap:0}.measure-stage-line,.measure-box-line{padding:11px 0;border-bottom:1px solid #2e5158}.measure-stage-line:first-child,.measure-box-line:first-child{padding-top:2px}.measure-stage-line:last-child,.measure-box-line:last-child{border:0;padding-bottom:0}
.measure-stage-line-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px}.measure-stage-line-head strong,.measure-box-line strong{font-size:13px}.measure-stage-line-head span{color:#64dcd5;font-size:13px;font-weight:800}.measure-stage-line .measure-progress-track{height:7px}.measure-stage-line .caption{margin-top:6px}
.measure-box-line{display:flex;align-items:center;justify-content:space-between;gap:18px}.measure-box-line .caption{margin-top:4px}.measure-mini-progress{display:flex;align-items:center;gap:8px;min-width:125px;max-width:175px;flex:1}.measure-mini-progress .measure-progress-track{height:7px}.measure-mini-progress b{color:#baf1eb;font-size:12px;min-width:36px;text-align:right}
.measure-instruction{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border:1px solid #2e5960;background:#112e36;border-radius:12px;margin-bottom:16px}.measure-instruction>div:first-child{color:#63dcd4}.measure-instruction strong{display:block;font-size:14px}.measure-instruction p{margin-top:4px}
.measure-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.measure-form-grid>.panel{margin:0}.measure-register-fields{display:grid;gap:12px;margin:16px 0}.measure-form-grid .stage-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.measure-audit summary{cursor:pointer;font-weight:700;color:#75e2dd;padding:5px 0}.measure-audit-body{padding:16px 0 2px}.measure-audit-body h3{margin:10px 0 14px}.measure-audit-body h3:not(:first-child){margin-top:30px}
@media(max-width:1050px){.measure-vitals{grid-template-columns:1fr}.measure-overview-grid{grid-template-columns:1fr}.measure-action-bar .caption{margin-left:0}.measure-form-grid{grid-template-columns:1fr}}
@media(max-width:610px){.measurement-tabs{width:100%;gap:3px;padding:4px}.measurement-tab{padding:11px 12px;font-size:12px}.measure-vitals-main{padding:20px}.measure-vitals-metrics>div{padding:14px}.measure-vitals-metrics strong{font-size:25px}.measure-vitals-value{font-size:49px}.measure-action-bar .btn{flex:1 1 auto}.measure-page .content-title{align-items:flex-start}.measure-box-line{gap:7px}.measure-mini-progress{min-width:110px}.measure-form-grid .stage-manual-grid{grid-template-columns:1fr}}

/* 2.2.17 — reabertura de etapas confirmadas indevidamente */
.measure-stage-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between;margin-top:6px}
.measure-stage-meta .caption{margin:0;flex:1 1 180px}
.measure-stage-meta .stage-revoke-btn{font-size:11px;min-height:30px;padding:6px 10px;color:#ffd0b5;border:1px solid #7d5c49;background:#3b2c29}
.measure-stage-meta .stage-revoke-btn:hover{background:#59372b;color:#fff2e9}
.measure-reversal-note{color:#ecbf96!important;margin-top:5px;overflow-wrap:anywhere}
@media(max-width:610px){.measure-stage-meta .stage-revoke-btn{width:100%}}

/* ÓRBITA 2.2.18 — refinamento estritamente mobile (desktop inalterado) */
.report-mobile-list,.measure-box-mobile-stats{display:none}
@media(max-width:760px){
 .settings-mobile-page{display:grid;gap:13px;padding-bottom:12px;min-width:0}
 .settings-mobile-page .content-title{margin-bottom:1px}
 .settings-mobile-page .content-title h1{font-size:24px}
 .settings-mobile-card{margin:0;padding:18px 16px;border-radius:14px;min-width:0}
 .settings-mobile-card h2{font-size:17px;margin:0 0 10px}
 .settings-user{display:flex;align-items:center;gap:12px;min-width:0;padding-top:7px}
 .settings-user>div:last-child{min-width:0;overflow-wrap:anywhere}
 .settings-user strong{font-size:15px}
 .settings-card-heading{display:flex;align-items:start;gap:12px}
 .settings-card-heading>svg{flex:none;color:#44cfc5}
 .settings-card-heading p{margin:0;line-height:1.5}
 .settings-password-form{display:grid;gap:13px;margin-top:18px}
 .settings-password-form .field{margin:0}
 .settings-password-form input{min-height:46px}
 .settings-full-btn{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;text-align:center;margin-top:12px}
 .settings-mobile-logout{padding:4px 0 12px;text-align:center}
 .settings-mobile-logout .btn{width:100%;min-height:44px}
 .report-desktop-table{display:none!important}
 .report-mobile-list{display:grid;gap:11px;min-width:0}
 .report-mobile-card{background:#112b33;border:1px solid #31545e;border-radius:12px;padding:15px;min-width:0;display:grid;gap:12px}
 .report-mobile-top{display:flex;align-items:start;justify-content:space-between;gap:10px;min-width:0}
 .report-mobile-top>div:first-child{min-width:0}
 .report-mobile-top .tag{flex:none;max-width:110px;font-size:10px}
 .report-mobile-date{color:#eafbfa;font-weight:800;font-size:15px}
 .report-mobile-project{font-size:12px;color:#62d5d0;margin-top:4px;overflow-wrap:anywhere}
 .report-mobile-detail{min-width:0}
 .report-mobile-detail>span{font-size:11px;color:#91b7be;font-weight:700}
 .report-mobile-detail>p{margin:4px 0 0;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere;color:#e1f0ef}
 .report-mobile-detail .report-mobile-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
 .report-mobile-open{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;color:#66dfd7}
 .report-filter-banner{padding:11px 13px;margin:9px 0 14px;gap:8px}
 .report-filter-banner .caption{display:none}
 .report-filter-banner .row{width:auto}
 .report-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .report-actions .btn{min-width:0;min-height:44px;justify-content:center;font-size:12px;padding:9px 6px}
 .report-actions .btn svg{width:15px;height:15px}
 .report-detail .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .report-detail .toolbar .btn{min-width:0;justify-content:center;min-height:40px}
 .report-detail .panel-head{gap:10px;flex-wrap:wrap}
 .report-detail .panel-head .btn{min-height:40px}
 .measure-page .measurement-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible;gap:5px;padding:5px}
 .measure-page .measurement-tab{min-width:0;white-space:normal;min-height:45px;text-align:center;padding:9px 5px}
 .measure-vitals{gap:9px;margin-bottom:14px}
 .measure-vitals-main{padding:17px 18px}
 .measure-vitals-value{font-size:44px}
 .measure-vitals-metrics{gap:8px}
 .measure-vitals-metrics>div{padding:12px;min-height:81px}
 .measure-vitals-metrics strong{font-size:23px}
 .measure-vitals-metrics span{font-size:11px}
 .measure-action-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .measure-action-bar .caption{grid-column:1/-1;margin:0}
 .measure-action-bar .btn{min-width:0;font-size:12px;display:flex;justify-content:center;min-height:45px;padding:9px 5px}
 .measure-clean-panel{padding:16px 14px}
 .measure-box-line{display:grid;grid-template-columns:1fr;gap:9px;background:#102b32;border:1px solid #31535a;border-radius:11px;padding:13px!important;margin:9px 0}
 .measure-box-line:last-child{border:1px solid #31535a;padding:13px!important}
 .measure-box-desktop-caption{display:none}
 .measure-box-mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;text-align:center}
 .measure-box-mobile-stats>div{padding:7px 4px;background:#0d2229;border-radius:8px;min-width:0}
 .measure-box-mobile-stats small{display:block;color:#8fafb6;font-size:10px}
 .measure-box-mobile-stats strong{display:block;color:#eafffc;font-size:17px;margin-top:3px}
 .measure-mini-progress{width:100%;max-width:none;min-width:0;gap:8px}
 .measure-mini-progress .measure-progress-track{flex:1}
 .measure-form-grid{gap:12px}
 .measure-settings .panel,.measure-page .panel{min-width:0}
 .measure-page .panel-head{flex-wrap:wrap}
 .measure-page .field{min-width:0}
}
@media(max-width:385px){
 .report-actions .btn{font-size:11px}
 .measure-page .measure-action-bar{grid-template-columns:1fr}
}

@media(max-width:760px){.content:has(.settings-mobile-page)>.project-selector-bar{display:none}}


/* ÓRBITA 2.2.19 — MOBILE only: readable interactive project constellation.
   Desktop map coordinates, dragging and visuals remain exactly as before. */
.mobile-constellation-panel{display:none}
@media(max-width:760px){
 .desktop-constellation{display:none!important}
 .mobile-constellation-panel{display:block;min-width:0}
 .content-title:has(+ .desktop-constellation) .caption{display:none}
 .content-title:has(+ .desktop-constellation){margin-bottom:12px}
 .mobile-map-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
 .map-count{font-size:12px;font-weight:700;color:#8de2dd;background:#13373d;border:1px solid #2c626a;border-radius:99px;padding:8px 11px}
 .mobile-map-center{font-size:12px;padding:8px 11px;min-height:38px;flex:none}
 .mobile-map-center svg{width:16px;height:16px}
 .mobile-map-instruction{color:#99bbc1;font-size:12px;margin:0 0 12px;line-height:1.4}
 .mobile-map-scroll{width:100%;max-height:min(58dvh,590px);min-height:310px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#278c97 #10242b;border:1px solid #32626a;border-radius:16px;background:radial-gradient(ellipse at 50% 5%,#145360 0%,#0f333d 34%,#0a1e26 72%);box-shadow:inset 0 0 30px #0004}
 .mobile-map-canvas{position:relative;width:100%;min-width:0;overflow:hidden;background-image:linear-gradient(#3b737110 1px,transparent 1px),linear-gradient(90deg,#3b737110 1px,transparent 1px);background-size:29px 29px}
 .mobile-map-glow{position:absolute;top:0;left:50%;transform:translateX(-50%);width:260px;height:260px;background:radial-gradient(circle,#42cfc118 0%,transparent 70%);pointer-events:none}
 .mobile-map-edges{position:absolute;inset:0;width:100%;height:100%;stroke:#3fb3be;stroke-width:2;stroke-dasharray:7 9;fill:none;opacity:.65;pointer-events:none}
 .mobile-map-hub,.mobile-map-node{position:absolute;display:flex;align-items:center;gap:9px;transform:translate(-50%,-50%);background:#143b45;border:1px solid #37a5ac;box-shadow:0 8px 24px #0006;text-align:left}
 .mobile-map-hub{left:50%;width:min(230px,78%);padding:12px 13px;border-radius:15px;z-index:2;box-shadow:0 0 22px #42cfc124;background:linear-gradient(120deg,#10525d,#123c46)}
 .mobile-map-hub img{width:40px;height:40px;flex:none}
 .mobile-map-hub strong{font-size:15px;letter-spacing:.08em}
 .mobile-map-hub small{font-size:10px;display:block;color:#a9ced3;margin-top:3px}
 .mobile-map-node{width:min(215px,74%);min-height:78px;padding:13px 11px;border-radius:12px;z-index:3;color:#eefafa;touch-action:pan-y;cursor:pointer}
 .mobile-map-node:active{background:#205461;border-color:var(--teal)}
 .mobile-map-node:focus-visible{outline:3px solid #42cfc1;outline-offset:3px}
 .mobile-map-node-icon{width:31px;height:31px;flex:none;display:grid;place-items:center;color:#65efe2;background:#1c5059;border-radius:9px}
 .mobile-map-node-icon svg{width:19px;height:19px}
 .mobile-map-node-text{min-width:0;flex:1}
 .mobile-map-node-text strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
 .mobile-map-node-text small{display:block;font-size:10px;color:#9cc6ca;margin-top:5px;line-height:1.35}
 .mobile-map-node-arrow{color:#6de2d9;flex:none}
 .mobile-map-node-arrow svg{height:18px;width:18px}
 .mobile-map-empty{position:absolute;left:12%;right:12%;top:190px;text-align:center;color:#a9cbd0;font-size:13px}
 .mobile-map-hint{display:flex;align-items:center;justify-content:center;gap:5px;text-align:center;color:#84b6bc;font-size:11px;padding:12px 0}
 .mobile-map-hint svg{height:14px;width:14px;transform:rotate(90deg)}
}

/* ÓRBITA 2.2.20 — project insight popup on the constellation, desktop + mobile */
body.map-detail-open{overflow:hidden}
.map-detail-layer{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;isolation:isolate}
.map-detail-backdrop{position:absolute;inset:0;background:rgba(3,15,19,.79);backdrop-filter:blur(4px);cursor:pointer}
.map-detail-card{position:relative;width:min(510px,100%);max-height:min(88dvh,760px);overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(160deg,#183a43,#10252e 76%);border:1px solid #39818a;border-radius:19px;color:#eafafa;padding:23px;box-shadow:0 25px 75px #000b,0 0 35px #42cfc118;scrollbar-width:thin}
.map-detail-top{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.map-detail-project-icon{display:grid;place-items:center;background:#155360;border:1px solid #377f88;border-radius:13px;flex:0 0 48px;height:48px;color:#55ded4}
.map-detail-ident{min-width:0;flex:1}.map-detail-ident .eyebrow{font-size:10px;color:#57d6d0;letter-spacing:.13em}.map-detail-ident h2{font-size:20px;margin:5px 0 3px;overflow-wrap:anywhere}.map-detail-sub{font-size:12px;color:#99c1c7}
.map-detail-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid #416c74;border-radius:11px;background:#173640;color:#eafafa;cursor:pointer;flex:none}.map-detail-close:hover{background:#25505a}
.map-detail-priority{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #658f96;background:#1b4750;border-radius:13px;padding:17px 18px}
.map-detail-priority strong{display:block;font-size:27px;line-height:1.15;margin-top:5px}.map-detail-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;opacity:.83}
.map-detail-priority.critica{background:#4d2836;border-color:#c86b7a;color:#ffe0e5}.map-detail-priority.alta{background:#49382c;border-color:#cc9662;color:#ffe5c7}.map-detail-priority.media{background:#3b412c;border-color:#b6a96b;color:#fff1cb}.map-detail-priority.baixa,.map-detail-priority.em-dia{background:#153f40;border-color:#4faaa3;color:#a2f5df}.map-detail-priority.indefinida{background:#233942;border-color:#557985;color:#cee3e6}
.map-detail-reason{color:#b4d0d3;font-size:13px;line-height:1.55;margin:12px 0 16px}
.map-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}.map-detail-facts>div{display:flex;align-items:center;flex-direction:column;padding:12px 5px;background:#0d2933;border:1px solid #2d535c;border-radius:10px}.map-detail-facts strong{font-size:23px;color:#edfefe}.map-detail-facts span{font-size:11px;color:#a8c8ce}
.map-detail-decision{display:flex;align-items:center;gap:6px;color:#dbd0a4;font-size:12px;margin:12px 0 15px}
.map-detail-section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0 9px}.map-detail-section-title h3{font-size:14px;margin:0;color:#ebfaf9}.map-detail-section-title span{font-size:11px;color:#8fb3bc}
.map-detail-tasks{list-style:none;padding:0;margin:0;display:grid;gap:7px}.map-detail-task{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:11px;background:#102d37;border:1px solid #284d56;border-radius:10px}.map-detail-task>div{min-width:0}.map-detail-task strong{display:block;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.map-detail-task span:not(.tag){display:block;color:#9ebdc4;font-size:11px;margin-top:5px}.map-detail-task .tag{flex:none;font-size:10px}.map-detail-empty{font-size:13px;color:#a9c5ca;margin:7px 0}
.map-detail-note{font-size:11px;color:#93b3b9;line-height:1.5;margin:14px 0}.map-detail-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:15px;border-top:1px solid #2a545e}.map-detail-footer .btn{min-height:42px;justify-content:center;white-space:nowrap}
@media(max-width:760px){
 .map-detail-layer{align-items:end;padding:0}
 .map-detail-card{width:100%;max-height:88dvh;border-radius:22px 22px 0 0;border-bottom:0;padding:20px 17px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box}
 .map-detail-priority strong{font-size:25px}
 .map-detail-footer .btn{flex:1;font-size:12px;padding:11px 9px}
 .map-detail-facts strong{font-size:21px}
}
@media(prefers-reduced-motion:no-preference){.map-detail-card{animation:map-detail-rise .22s ease-out}@keyframes map-detail-rise{from{opacity:.3;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}}

/* 2.2.21 KaiT Watch: compact notifications on desktop and mobile */
.kait-alert-bell{position:relative;min-width:39px;flex-shrink:0}
.kait-alert-count{position:absolute;right:-5px;top:-7px;background:#c95d6b;color:white;min-width:19px;height:19px;border-radius:999px;font-size:10px;line-height:19px;text-align:center;padding:0 4px;font-weight:700}
.kait-alert-list{display:grid;gap:12px;max-width:920px}.kait-alert-item{margin:0}.kait-alert-item.unread{border-color:#298d92;background:#13363c}.kait-alert-item.read{opacity:.76}.kait-alert-item h3{margin:7px 0}.kait-alert-item p{line-height:1.55;overflow-wrap:anywhere}
@media(max-width:760px){.kait-alert-bell{min-width:36px}.kait-alert-item .row{align-items:flex-start}.kait-alert-item .btn{font-size:12px}}

/* KaiT 3.0: painéis operacionais consistentes no Web/PWA/APK */
.kait3-head{background:linear-gradient(115deg,#13373e,#173039)}.kait3-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,1fr);gap:16px;align-items:start}.kait3-main,.kait3-side{min-width:0}.kait3-side{display:grid;gap:14px}.kait3-messages{display:flex;flex-direction:column;gap:14px;min-height:210px;max-height:560px;overflow-y:auto;padding:15px 6px;scrollbar-color:#35777a transparent}.kait3-messages .bubble{max-width:96%;overflow-wrap:anywhere}.kait3-messages .bubble.ai{align-self:flex-start}.kait3-messages .bubble.user{align-self:flex-end}.kait3-provider{display:block;color:#55d9ce;font-size:11px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}.kait3-proposal{margin:10px 0;border:1px solid #315961;padding:12px;border-radius:12px;background:#112931}.kait3-proposal .btn{margin:5px 4px 0 0}.kait3-print{margin-top:20px}.kait3-print header{border-bottom:1px solid #527578;padding-bottom:18px}.kait3-numbers{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.kait3-numbers span{background:#155058;padding:8px 12px;border-radius:10px}.kait3-report-group{margin:16px 0}.kait3-report-group h3{margin:8px 0}.kait3-report-group ul{padding-left:22px;line-height:1.7}.kait3-report-group li{overflow-wrap:anywhere}
@media(max-width:850px){.kait3-grid{grid-template-columns:1fr}.kait3-messages{max-height:440px}.kait3-head .row{align-items:start}}
@media print{body:has(#kait3-print) .sidebar,body:has(#kait3-print) .topbar,body:has(#kait3-print) .bottom-nav,body:has(#kait3-print) .content>*:not(#kait3-print){display:none!important}body:has(#kait3-print) .layout,body:has(#kait3-print) .main,body:has(#kait3-print) .content{display:block!important;margin:0!important;padding:0!important;background:white!important;color:#152f35!important}body:has(#kait3-print) #kait3-print{display:block!important;background:#fff!important;border:0!important;color:#152f35!important;box-shadow:none!important;padding:20px!important}body:has(#kait3-print) #kait3-print *{color:#152f35!important;background:transparent!important}.kait3-print .no-print{display:none!important}}
/* 2.3.1 — obras ativas e concluídas: filtros não alteram dados armazenados. */
.project-filter-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 17px;margin:0 0 22px;background:#183139;border:1px solid #30515b;border-radius:14px}
.project-filter-tabs{display:flex;gap:8px;flex-wrap:wrap}.project-filter-tabs .btn{font-size:12px;min-height:38px}.project-client-filter{display:flex;align-items:center;gap:10px;font-size:12px;color:#a1c1c7}.project-client-filter select{background:#0c262d;border:1px solid #3c6770;color:white;border-radius:9px;padding:10px;max-width:190px}.project-client-group{margin:8px 0 25px}.project-group-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b5359;margin-bottom:15px;padding-bottom:9px}.project-group-title h2{font-size:16px;margin:0;color:#cde9e9}.project-completed{border-color:#3e6d60;opacity:.95}.project-completed .compact-project-actions{flex-wrap:wrap}
@media(max-width:760px){.project-filter-toolbar{align-items:stretch}.project-filter-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.project-filter-tabs .btn{padding:8px 4px;font-size:10px;white-space:normal}.project-client-filter{width:100%;justify-content:space-between}.project-client-filter select{max-width:70%;width:70%}}
/* 2.3.1 — canvas mobile em plano livre 2D, mantendo pop-up de obra. */
.map-status-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.map-status-tabs .btn{font-size:11px;min-height:36px;padding:8px 11px}
@media(max-width:760px){.mobile-map-scroll{overflow:auto!important;overflow-x:auto!important;overflow-y:auto!important;touch-action:pan-x pan-y!important;height:min(62dvh,580px);max-height:none;overscroll-behavior:contain}.mobile-map-canvas{width:960px!important;min-width:960px!important;overflow:visible!important}.mobile-map-hub{left:50%}.mobile-map-node{width:215px;max-width:215px;touch-action:none!important;user-select:none;-webkit-user-select:none}.mobile-map-instruction{font-size:12px;line-height:1.6}.mobile-map-scroll::-webkit-scrollbar{width:4px;height:4px}.mobile-map-scroll::-webkit-scrollbar-thumb{background:#276d71}}

/* ÓRBITA 2.3.5 — seletor de aparência em Configurações */
.appearance-settings{margin-bottom:18px}.appearance-settings .settings-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}.appearance-settings h2{margin:0 0 4px}.appearance-symbol{font-size:24px;color:var(--teal)}.appearance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.appearance-option{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;min-height:85px;background:var(--panel2);color:var(--white);border:1px solid var(--line);border-radius:13px;padding:13px;cursor:pointer}.appearance-option:hover{border-color:var(--teal)}.appearance-option.selected{border:2px solid var(--teal);background:var(--teal-soft);padding:12px}.appearance-option:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.appearance-option-icon{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:var(--panel);color:var(--teal);display:grid;place-items:center;font-size:20px}.appearance-option strong,.appearance-option small{display:block}.appearance-option strong{font-size:14px}.appearance-option small{font-size:11px;color:var(--muted);line-height:1.45;margin-top:4px}.appearance-selection-mark{margin-left:auto;color:var(--teal);font-weight:900}.appearance-hint{margin:12px 0 0}@media(max-width:760px){.appearance-settings .appearance-options{grid-template-columns:1fr}.appearance-option{min-height:68px}.appearance-settings{margin-bottom:14px}}

/* 2.3.7 — equipe legível e DXF 2D interativo */
.report-detail-grid .report-team-names,.report-mobile-detail .report-team-names{display:flex;flex-wrap:wrap;gap:7px;margin:3px 0 7px}
.report-team-member{display:inline-block;padding:6px 10px;background:var(--teal-soft);border:1px solid var(--line);color:var(--teal);border-radius:7px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.report-time{font-size:12px;color:var(--muted);font-weight:500}
.content-title h1{overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}
.viewer:has(.dxf-shell){padding:0;background:var(--deep);min-height:440px;height:clamp(440px,74dvh,1000px)}
.dxf-shell{--dxf-bg:#0c1a22;--dxf-line:#d8f2f1;display:flex;flex-direction:column;height:100%;width:100%;min-width:0}
.dxf-controls,.dxf-foot{display:flex;align-items:center;gap:8px;padding:9px;background:var(--panel2);color:var(--white);flex:none;min-width:0;flex-wrap:wrap}
.dxf-controls{border-bottom:1px solid var(--line)}
.dxf-controls button{background:var(--panel);color:var(--white);border:1px solid var(--line);border-radius:8px;padding:9px 13px;min-height:40px;font-size:15px;font-weight:700}
.dxf-controls button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.dxf-controls button:active{background:var(--teal-soft)}
.dxf-percent{font-size:12px;min-width:66px;color:var(--muted);font-weight:700}
.dxf-viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;overscroll-behavior:contain;background:var(--dxf-bg)}
.dxf-viewport canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none}
.dxf-viewport canvas:active{cursor:grabbing}
.dxf-overlay{pointer-events:none;position:absolute;bottom:10px;left:50%;transform:translateX(-50%);border:1px solid var(--line);background:var(--panel);color:var(--muted);font-size:11px;padding:7px 11px;border-radius:30px;white-space:nowrap;max-width:95%;overflow:hidden;text-overflow:ellipsis}
.dxf-foot{border-top:1px solid var(--line);justify-content:space-between;font-size:11px}
.dxf-stats{color:var(--muted)}
.dxf-layers{position:relative;margin-left:auto}
.dxf-layers summary{cursor:pointer;color:var(--teal);font-size:12px;font-weight:700}
.dxf-layer-list{position:absolute;bottom:24px;right:0;z-index:3;max-height:min(260px,40dvh);min-width:190px;max-width:min(310px,75vw);overflow:auto;padding:10px;background:var(--panel);border:1px solid var(--line);box-shadow:0 15px 30px #0004;border-radius:10px}
.dxf-layer-list label{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:12px}
.dxf-layer-list input{width:15px;height:15px;accent-color:var(--teal);flex:none}
@media(max-width:760px){.viewer:has(.dxf-shell){height:min(78dvh,730px);min-height:420px}.dxf-controls{gap:5px;padding:7px}.dxf-controls button{min-height:43px;padding:8px 12px}.dxf-overlay{font-size:10px}.dxf-foot{padding:7px}}

/* ÓRBITA 2.3.8 — Centro de Operações e quantitativos, sem dependências externas */
.ops-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.ops-kpi{border:1px solid var(--line);border-radius:15px;background:var(--panel);padding:18px;display:flex;flex-direction:column;gap:8px;min-width:0}
.ops-kpi strong{font-size:28px}.ops-kpi span{font-size:12px;color:var(--muted)}.ops-kpi svg{color:var(--teal)}
.ops-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.ops-card{padding:17px;border:1px solid var(--line);background:var(--panel);border-radius:15px;min-width:0}.ops-card h3{margin:0 0 4px}.ops-facts{display:flex;flex-wrap:wrap;gap:8px 14px;margin:14px 0;font-size:13px;color:var(--muted)}.ops-actions{display:flex;gap:8px;flex-wrap:wrap}.ops-new{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:12px}.ops-new summary{cursor:pointer;font-weight:650;color:var(--teal)}.ops-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.ops-form button{align-self:end}.work-entry-form{display:grid;grid-template-columns:1fr 2fr auto;gap:8px;align-items:end;margin-top:14px}.ops-group-select{margin-top:12px}
@media(max-width:920px){.ops-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-list{grid-template-columns:1fr}.work-entry-form{grid-template-columns:1fr}}
@media(max-width:600px){.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-kpi{padding:12px}.ops-form{grid-template-columns:1fr}.ops-actions .btn{flex:1}.ops-card{padding:13px}}

.dxf-measure-result{font-size:13px;padding:9px 12px;background:var(--panel);border:1px solid var(--line);border-radius:8px;margin:8px 0;color:var(--white)}
.dxf-controls [aria-pressed="true"]{background:#42cfc1;color:#05282b;border-color:#42cfc1}
@media(max-width:600px){.dxf-controls{display:flex;flex-wrap:wrap;gap:6px}.dxf-controls button{min-height:40px}}

/* KaiT operational report history */
.kait3-side h3{margin:14px 0 8px;font-size:.95rem}
.kait3-brief{padding:8px 0;border-top:1px solid rgba(130,164,168,.27)}
.kait3-brief summary{cursor:pointer}
.kait3-print .row{margin:12px 0}
.kait3-print li,.kait3-print details{overflow-wrap:anywhere}
#kait3-status:empty{display:none}

.dxf-color-swatch{display:inline-block;width:.8em;height:.8em;border:1px solid currentColor;border-radius:.15em;background:var(--dxf-swatch);flex:none}

.dxf-shell [hidden]{display:none!important}
.dxf-viewport.is-picking canvas{cursor:crosshair}
.dxf-calibration-form,.dxf-scale-info{display:flex;flex:none;align-items:center;gap:8px;flex-wrap:wrap;padding:5px 10px;background:var(--panel);color:var(--white)}
.dxf-calibration-form label{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px}
.dxf-calibration-form input{width:88px;min-height:38px;padding:4px 6px;color:var(--white);background:var(--panel2);border:1px solid var(--line);border-radius:6px}
.dxf-scale-info{justify-content:space-between;color:var(--muted);font-size:11px}
.dxf-scale-info button,.dxf-calibration-form button{min-height:38px}

/* Início: o nome da obra é o título do painel; o seletor aparece no mesmo bloco. */
.home-work-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(188px,280px);align-items:center;gap:16px;background:var(--panel2);border:1px solid var(--line);border-inline-start:4px solid var(--line);border-radius:14px;padding:15px 18px;margin:0 0 16px;min-width:0}
.home-work-context.is-work{border-inline-start-color:var(--teal)}
.home-work-identity{display:flex;align-items:flex-start;gap:13px;min-width:0}
.home-work-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;margin-top:2px;background:var(--teal-soft);color:var(--teal);border-radius:11px}
.home-work-copy{min-width:0}
.home-work-eyebrow{display:flex;flex-wrap:wrap;gap:6px;font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--teal)}
.home-work-eyebrow span{color:var(--muted)}
.home-work-copy h1{font-size:clamp(1.3rem,2.4vw,1.85rem);line-height:1.13;letter-spacing:-.02em;margin:4px 0 3px;overflow-wrap:anywhere;color:var(--white)}
.home-work-copy h1:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}
.home-work-copy p{margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.home-work-picker{display:grid;gap:4px;min-width:0;color:var(--white);font-size:12px;font-weight:650}
.home-work-picker select{width:100%;min-height:44px;min-width:0;background:var(--base);color:var(--white);border-color:var(--line);padding:8px 10px;font-size:14px;text-overflow:ellipsis}
.home-metrics-title{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.home-metrics-title h2{font-size:17px;margin:0}
@media(max-width:620px){.home-work-context{grid-template-columns:minmax(0,1fr);padding:12px;gap:9px;margin-bottom:12px}.home-work-identity{gap:9px}.home-work-icon{flex-basis:36px;width:36px;height:36px}.home-work-icon svg{width:20px;height:20px}.home-work-picker{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px}.home-work-picker select{font-size:16px}.home-metrics-title .btn{font-size:12px;padding:7px 9px}}
/* Keep the model in place when hints and calibration controls wrap on a phone. */
.viewer:has(.dxf-shell){height:auto;min-height:0}
.dxf-shell{height:auto}
.dxf-viewport{flex:none;height:clamp(300px,53dvh,740px)}
