:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182c3c;background:#f3f6f8;font-size:16px;line-height:1.45;--nav:#142536;--line:#dce4ea;--muted:#596f80;--accent:#e78c33}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:#225b85}button{border:1px solid var(--line);border-radius:8px;padding:9px 14px;background:#fff;color:#233c50;min-height:40px}button:hover{background:#edf2f6}button.primary{background:var(--nav);border-color:var(--nav);color:#fff}button.primary:hover{background:#284a64}button.small{padding:6px 10px;font-size:.875rem;min-height:34px}button.link{border:0;background:none;padding:0;text-align:left;min-height:24px;color:#245d87}input,textarea,select{border:1px solid #bacad5;border-radius:7px;padding:10px;background:#fff;color:#182c3c;max-width:100%;min-width:0}textarea{resize:vertical;min-height:90px}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;letter-spacing:-.035em;margin-bottom:6px}h2{font-size:1.2rem;margin-bottom:15px}h3{font-size:1rem;margin-bottom:8px}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#fff;padding:28px 18px;display:flex;flex-direction:column;gap:8px}.logo{display:flex;align-items:center;gap:10px;padding:0 12px 26px;font-size:1.3rem;font-weight:650;letter-spacing:.03em}.logo img{width:34px}.navitem{display:flex;align-items:center;gap:11px;border:0;background:none;color:#c4d1dc;text-align:left;padding:12px}.navitem:hover,.navitem.active{background:#2a4053;color:#fff}.navitem.active{box-shadow:inset 3px 0 #f6a34e}.navitem svg{width:19px;height:19px;flex-shrink:0}.sidebar-foot{margin-top:auto;padding:28px 12px 0;font-size:.875rem;color:#bacad5}.avatar{display:inline-flex;border-radius:50%;width:35px;height:35px;align-items:center;justify-content:center;background:#36536b;color:#fff;margin-right:8px}.workspace{min-width:0}.topbar{min-height:68px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:14px 32px;gap:15px}.local{font-size:.875rem;color:#526b7e}.local b{color:#243f53}.main{padding:30px 32px 48px;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px;flex-wrap:wrap}.muted{color:var(--muted)}.meta{font-size:.875rem;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}.metric strong{display:block;font-size:1.85rem;letter-spacing:-.03em;margin-top:7px}.grid2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.panel-head h2{margin:0}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e8edf1}.row:last-child{border-bottom:0}.row-title{font-weight:600}.pill{display:inline-block;font-size:.8125rem;border-radius:6px;padding:4px 8px;background:#eaf0f5;color:#38556a;white-space:normal}.pill.green{background:#e6f3eb;color:#246241}.pill.orange{background:#fff0dc;color:#85511a}.pill.red{background:#fdebed;color:#9f3743}.pill.blue{background:#e8f1fc;color:#275c94}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;align-items:center}.toolbar input[type=search]{flex:1;min-width:180px}.object-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.object-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:12px}.object-card h2{margin:0;font-size:1.1rem}.object-card .bottom{margin-top:auto;padding-top:10px;border-top:1px solid #e7edf1;display:flex;justify-content:space-between;align-items:center;gap:8px}.bar-row{display:grid;grid-template-columns:120px 1fr 25px;gap:12px;align-items:center;margin:17px 0;font-size:.875rem}.bar-track{height:9px;border-radius:4px;background:#ecf1f5;overflow:hidden}.bar-fill{height:100%;background:#416d8d;border-radius:4px}.bar-row:nth-child(2) .bar-fill{background:#e89b4a}.empty{padding:32px 16px;text-align:center;color:var(--muted)}.empty h3{color:#243d50}.tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.tabs button.active{background:#e1ebf3;border-color:#b1c7d9}.notice{padding:12px 16px;border-left:3px solid #dda357;background:#fff6e8;color:#75521e;border-radius:0 7px 7px 0;margin-bottom:20px;font-size:.875rem}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.875rem}th{text-align:left;background:#f5f8fa;color:#586f80;font-weight:500}td,th{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}table .title-cell{min-width:210px;max-width:400px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:.875rem}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%}dialog{width:min(720px,calc(100% - 28px));max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:28px;color:#182c3c;box-shadow:0 20px 70px #14253644}dialog::backdrop{background:#14253688}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-head h2{margin:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{color:#a03443;padding-top:12px}.chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.channels{max-height:640px;overflow:auto}.channel{display:block;width:100%;text-align:left;border:0;border-radius:8px;margin:4px 0}.channel.active{background:#e6eef5}.channel-group{font-size:.8125rem;text-transform:uppercase;letter-spacing:.04em;color:#657c8d;margin:18px 10px 8px}.messages{min-height:270px;max-height:480px;overflow:auto;padding:8px 0}.message{padding:14px 16px;background:#f0f5f9;border-radius:10px;margin:10px 0;max-width:90%;margin-left:auto}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.composer{border-top:1px solid var(--line);padding-top:16px}.composer textarea{width:100%}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.attachments{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.file{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;min-width:0}.file img,.file video{width:100%;height:170px;object-fit:cover;background:#e4ebf0}.file .info{padding:12px;overflow-wrap:anywhere}.file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.file-icon{height:90px;display:flex;align-items:center;justify-content:center;background:#edf3f7;font-size:1.2rem;color:#496a83}.attachment-link{display:inline-block;padding:7px 10px;background:#fff;border:1px solid var(--line);border-radius:7px;max-width:100%;overflow-wrap:anywhere}.planning{overflow:auto}.planning table{min-width:850px;table-layout:fixed}.planning th:first-child{width:180px}.planning td{height:80px;padding:7px}.slot{border-radius:5px;background:#e3eef8;border-left:3px solid #4b7b9d;padding:6px;margin-bottom:5px;font-size:.8125rem;overflow-wrap:anywhere}.slot.conflict{background:#fff0e6;border-color:#df8032}.money-total{font-size:1.4rem;font-weight:650;font-variant-numeric:tabular-nums}.split{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.loading{padding:50px}.progress-text{min-height:22px;font-size:.875rem;color:#536e81}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 20px;background:#172f43;color:#fff;border-radius:9px;box-shadow:0 8px 24px #1234;display:none;z-index:100}.badge-count{margin-left:auto;font-size:.8rem;color:#acc2d3}.breadcrumb{margin-bottom:18px}.status-progress{display:flex;gap:7px;align-items:center}.danger{color:#ac3d43}.day-today{background:#eef4fa}.checkline{display:flex;gap:8px;align-items:center;margin-top:8px}.checkline input{width:auto}.source-line{font-size:.8125rem;color:#6b7f8e;margin-top:14px}.chart-legend{font-size:.8125rem;color:#647b8d;margin-top:12px}.task-actions{display:flex;gap:6px;flex-wrap:wrap}.mobile-menu{display:none}.source-box{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
@media(max-width:1100px){.object-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2{grid-template-columns:1fr}.sidebar{padding:24px 10px}.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding:25px 22px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:720px){.shell{display:block}.sidebar{padding:12px;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.logo{width:100%;padding:0 4px 8px;font-size:1.1rem}.navitem{padding:8px;font-size:.875rem}.navitem svg{display:none}.sidebar-foot{display:none}.topbar{padding:12px 16px}.topbar .meta{display:none}.main{padding:22px 14px}.object-grid,.chat-layout,.form-grid,.file-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.channels{max-height:190px}.panel{padding:16px}.heading{align-items:flex-start}.metrics{gap:9px}.metric{padding:14px}.metric strong{font-size:1.5rem}.bar-row{grid-template-columns:110px 1fr 22px}.message{max-width:100%}h1{font-size:1.5rem}.badge-count{display:none}.object-card{padding:17px}.chat-layout{gap:0}button{min-height:44px}.form-actions{flex-wrap:wrap}}
@media print{.sidebar,.topbar,.toolbar,.tabs,.heading button,.task-actions,.form-actions,#toast{display:none!important}.shell{display:block}.main{padding:0}.panel{border:0;padding:0}.table-wrap{overflow:visible}.notice{background:none}body{background:#fff}table{font-size:11px}td,th{padding:6px}h1{font-size:22px}}
/* Leadership desktop */
body{background:#f3f5f9;color:#283247}.director-shell{min-height:100vh}.director-header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;padding:20px 5%;border-bottom:1px solid #e8ebf1}.desk-brand{border:0;background:none;display:flex;align-items:center;gap:13px;padding:0;text-align:left}.desk-brand>span{display:grid;place-items:center;background:#253756;color:#fff;border-radius:13px;width:46px;height:46px;font-size:23px;font-weight:600}.desk-brand b{font-size:20px;font-weight:600}.desk-brand small{display:block;font-size:12px;font-weight:400;color:#8490a3;margin-top:3px}.director-profile{display:flex;align-items:center;gap:10px}.director-profile strong{font-size:14px}.director-profile small{display:block;color:#7c879b;font-size:11px}.director-profile .avatar{background:#e7edf7;color:#52698e;margin:0}.director-profile button{font-size:12px;margin-left:12px;border-radius:9px}.large-nav{display:flex;gap:8px;flex-wrap:wrap;padding:18px 5%;background:white;border-bottom:1px solid #e7eaf0}.large-nav button{font-size:16px;font-weight:500;padding:14px 18px;border:1px solid #e1e6ee;border-radius:11px;min-height:53px;background:#fff;white-space:nowrap}.large-nav button.active{background:#263957;color:white;border-color:#263957}.workspace-mode{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 5%;font-size:12px;color:#7b8798}.director-shell .main{padding:20px 5% 60px;max-width:1700px}.desk-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0 30px}.desk-eyebrow{font-size:10px;letter-spacing:.14em;color:#8b97aa}.desk-heading h1{font-size:38px;line-height:1.2;margin:10px 0}.desk-heading p{font-size:16px;color:#7d8798;margin:0}.desk-customize{font-size:13px;border-radius:10px;padding:12px 18px;background:transparent}.app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.app-tile{min-height:196px;border:1px solid #e2e6ed;border-radius:20px;padding:25px;text-align:left;background:white;display:flex;flex-direction:column;align-items:flex-start;transition:transform .2s,box-shadow .2s}.app-tile:hover{background:#fff;transform:translateY(-3px);box-shadow:0 12px 28px #253a5d0c}.tile-top{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-bottom:22px}.app-symbol{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#e9f0fc;color:#4d77b0;font:32px/1 Arial,sans-serif}.app-tile.violet .app-symbol{background:#efebfb;color:#8c72bf}.app-tile.teal .app-symbol{background:#e5f3f0;color:#569087}.app-tile.orange .app-symbol{background:#fdf0e3;color:#c8914c}.app-tile.green .app-symbol{background:#e9f4e8;color:#68905e}.app-tile.pink .app-symbol{background:#f7eaf0;color:#b07795}.app-tile.cyan .app-symbol{background:#e5f1f6;color:#628f9f}.app-count{font-size:13px;color:#8c97a7;background:#f4f6fa;border-radius:8px;padding:4px 9px}.app-tile strong{font-size:22px;letter-spacing:-.025em;line-height:1.2;font-weight:600}.app-note{font-size:13px;color:#8b94a4;display:block;margin-top:9px;line-height:1.4}.director-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:40px}.director-shortcuts button{display:flex;flex-direction:column;align-items:flex-start;padding:23px 27px;background:#e9edf5;border:0;border-radius:15px;text-align:left}.director-shortcuts button:first-child{background:#2b3e60;color:#fff}.director-shortcuts span{font-size:9px;letter-spacing:.11em;opacity:.65;margin-bottom:10px}.director-shortcuts strong{font-size:21px;font-weight:500}.director-shortcuts small{font-size:12px;opacity:.65;margin-top:5px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:30px 0 20px}.section-label h2{font-size:23px;margin:0}.section-label span{color:#7c8798;font-size:13px}.desk-editor{display:grid;gap:8px;margin:20px 0}.desk-edit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid #e4e8ee;border-radius:10px}.desk-edit-row label{display:flex;align-items:center;gap:10px;font-size:15px}.desk-edit-row input{width:18px;height:18px}.desk-edit-row button{padding:5px 10px;min-height:35px}.leadership-people{display:grid;grid-template-columns:1fr 1fr;gap:20px}.leadership-people>div{background:#f5f7fa;padding:20px;border-radius:12px}.leadership-people small{display:block;color:#7c8798;margin:10px 0 0 44px;font-size:12px}.chat-mode{padding:10px 0 20px;color:#8691a2;font-size:12px}.phone-nav{display:none}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f1f4f9}.auth-card{width:100%;max-width:450px;background:white;padding:36px;border:1px solid #dce3ee;border-radius:20px}.auth-card h1,#dialog:has(#auth-form) h1{font-size:26px;line-height:1.25}#auth-form{display:grid;gap:17px}#auth-form label{display:grid;gap:7px;font-size:14px}#auth-form input,#auth-form select{width:100%}.auth-close{float:right;margin:0 0 15px 15px}.invite-field{display:grid;gap:8px;margin:20px 0}.invite-field input{width:100%;font-size:13px}.channels{max-height:70vh;overflow:auto}.tabs button{font-size:15px;padding:12px 17px;min-height:48px}
@media(max-width:1100px){.app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.large-nav{gap:7px;padding:15px 4%}.large-nav button{font-size:14px;padding:12px 14px}.director-header{padding:18px 4%}.director-shell .main{padding-left:4%;padding-right:4%}.app-tile{padding:22px}.app-tile strong{font-size:20px}}
@media(max-width:700px){body{padding-bottom:80px}.director-header{padding:15px 5%;gap:10px}.desk-brand small{display:none}.desk-brand b{font-size:17px}.desk-brand>span{width:39px;height:39px;font-size:20px;border-radius:11px}.director-profile>.avatar{display:none}.director-profile small{font-size:9px}.director-profile strong{font-size:12px}.director-profile button{margin-left:3px;font-size:10px;min-height:34px;padding:7px 9px}.large-nav{display:none}.workspace-mode{font-size:10px;padding:12px 5%}.workspace-mode button{font-size:10px}.director-shell .main{padding:10px 5% 30px}.desk-heading{display:block;margin:10px 0 23px}.desk-heading h1{font-size:31px}.desk-heading p{font-size:14px}.desk-customize{margin-top:17px;font-size:12px;padding:9px 13px}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app-tile{min-height:171px;padding:18px;border-radius:17px}.app-symbol{width:47px;height:47px;font-size:27px;border-radius:13px}.tile-top{margin-bottom:18px}.app-tile strong{font-size:18px;line-height:1.2}.app-note{font-size:11px;margin-top:7px}.app-count{font-size:11px;padding:3px 7px}.director-shortcuts{grid-template-columns:1fr;gap:12px;margin-bottom:28px}.director-shortcuts button{padding:21px}.director-shortcuts strong{font-size:20px}.section-label h2{font-size:21px}.section-label span{font-size:11px}.phone-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #dce4ed;padding:10px 7px calc(10px + env(safe-area-inset-bottom))}.phone-nav button{border:0;background:transparent;font-size:11px;padding:9px 3px;border-radius:9px;min-height:42px}.phone-nav button.active{background:#263957;color:#fff;font-weight:600}.desk-edit-row{padding:10px}.desk-edit-row label{font-size:13px}.leadership-people{grid-template-columns:1fr}.auth-card{padding:25px}.channels{max-height:260px}.tabs button{font-size:13px;padding:10px 13px}}
@media(prefers-reduced-motion:reduce){.app-tile{transition:none}}
.board-summary{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px 0;color:#58677b}.board-summary b,.board-warning{color:#936019}.board-panel{padding:0;overflow:hidden}.board-scroll{overflow:auto;max-height:72vh}.week-board{border-collapse:separate;border-spacing:0;min-width:1380px;width:100%;table-layout:fixed}.week-board th,.week-board td{width:170px;vertical-align:top;padding:12px;border-right:1px solid #e5eaf0;border-bottom:1px solid #e5eaf0}.week-board th:first-child{width:200px;position:sticky;left:0;background:#fff;z-index:2}.week-board thead th{position:sticky;top:0;background:#edf2f8;z-index:3;font-size:16px}.week-board thead th:first-child{z-index:4;background:#edf2f8}.week-board thead span{display:block;font-size:12px;font-weight:400;margin-top:5px}.week-board td{height:125px}.board-job{display:block;width:100%;text-align:left;background:#eaf0fb;border:1px solid #cfdbef;border-left:4px solid #6283c0;border-radius:9px;padding:10px;margin-bottom:8px;white-space:normal}.board-job span,.board-job small{display:block;margin-top:6px}.board-job small{font-size:10px;line-height:1.4;color:#56657b}.board-conflict{background:#fff3df;border-color:#e4bd7d}.board-off{background:#f2f3f5;color:#8c929b}.board-rule{font-size:11px;line-height:1.5;margin-bottom:9px;color:#747d8b}.board-today{background:#f3f7ff!important}.board-add{width:100%;font-size:11px;padding:8px;border:1px dashed #cbd4e2;background:transparent;color:#66798f}.board-warning{font-size:11px;line-height:1.4;margin:7px 0}.board-person-plan{font-size:11px;border:0;padding:8px 0;color:#5570a0;background:transparent}.board-day-label{display:none}.person-day{border-top:1px solid #e5eaf0;padding:10px 0}.person-day h3{font-size:16px;margin:5px 0}details.panel summary{cursor:pointer;padding:10px;font-weight:600}@media(max-width:700px){.board-scroll{max-height:70vh}.week-board th:first-child{width:140px}.week-board{min-width:1320px}.board-summary{font-size:12px}.board-day-label{display:block;font-size:11px;margin-bottom:7px}}@media print{.board-scroll{max-height:none;overflow:visible}.week-board{min-width:0;font-size:8px}.week-board th,.week-board td,.week-board th:first-child{width:auto;padding:4px;position:static}.board-job{padding:4px;font-size:8px}.board-add,.board-person-plan,.toolbar,.phone-nav{display:none!important}.printing-person #app,.printing-person #toast{display:none!important}.printing-person dialog[open]{display:block!important;position:static;max-height:none;overflow:visible;width:100%;max-width:none;border:0}.printing-person .form-actions,.printing-person [data-close]{display:none!important}}
.board-mode{display:flex;gap:10px;margin-bottom:25px;flex-wrap:wrap}.board-mode button{font-size:16px;padding:15px 22px}.matrix-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;margin:10px 0 20px}.matrix-red{color:#a54b36}.matrix-done{color:#527965;font-size:11px;margin:8px 0}.matrix-done small{display:block}.object-matrix{min-width:2100px;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.object-matrix th,.object-matrix td{width:185px;vertical-align:top;padding:10px;border-right:1px solid #e4e9ef;border-bottom:1px solid #e4e9ef}.object-matrix th:first-child{width:220px;position:sticky;left:0;z-index:2;background:#fff}.object-matrix thead th{position:sticky;top:0;z-index:3;background:#edf2f8;font-size:13px}.object-matrix thead th:first-child{z-index:4;background:#edf2f8}.object-matrix th .pill{display:block;width:fit-content;margin-top:8px}.matrix-task{display:block;width:100%;text-align:left;border:1px solid #d5e1f1;background:#eff4fb;padding:10px;margin-bottom:8px;border-radius:9px;white-space:normal}.matrix-task strong{display:block;font-size:12px;line-height:1.4}.matrix-task span{display:block;margin:8px 0;font-size:12px;font-weight:600;color:#375b87}.matrix-task small{display:block;font-size:10px;line-height:1.45;color:#697585;margin-top:4px}.matrix-task.needs-master{background:#fff3ee;border-color:#efd5c9}.matrix-task.needs-master span{color:#a54b36}.matrix-add{background:transparent;border:0;color:#8491a3;font-size:11px;padding:5px}.matrix-block{font-size:10px;line-height:1.4;color:#997344;font-weight:400;margin-top:10px}.matrix-check{display:flex;gap:8px;align-items:center;font-size:13px}.matrix-check input{width:auto}@media(max-width:700px){.board-mode button{font-size:12px;padding:12px}.object-matrix th:first-child{width:145px}.matrix-legend{gap:10px}} 
.compact-scroll{max-height:75vh}.compact-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:2280px;table-layout:fixed}.compact-matrix th,.compact-matrix td{border-right:1px solid #d5dfe5;border-bottom:1px solid #d5dfe5;vertical-align:top;padding:0;width:122px}.compact-matrix thead th{background:#4c9cab;color:white;font-size:11px;padding:12px 5px;text-align:center;position:sticky;top:0;z-index:3}.compact-matrix th:first-child{width:175px;position:sticky;left:0;background:#fff;z-index:2;padding:10px}.compact-matrix thead th:first-child{background:#377e8c;z-index:4}.compact-matrix tbody th button{font-size:13px;text-align:left}.compact-matrix tbody th small{display:block;color:#81909b;font-weight:400;font-size:10px;margin-top:6px}.stage-cell{border:0;background:transparent;border-radius:0;width:100%;height:100%;min-height:74px;text-align:left;padding:8px 6px;color:inherit;white-space:normal}.stage-cell strong{font-size:11px;display:block}.stage-cell span,.stage-cell small,.stage-cell em{display:block;font-size:10px;margin-top:5px;line-height:1.3;font-style:normal}.stage-cell em{color:#922e19;font-weight:700;background:#fff7ee;border-radius:3px;padding:2px}.cell-working{background:#d9e9fb;color:#214f86}.cell-complete{background:#d9ebd1;color:#3d6634}.cell-remaining{background:#fff0bf;color:#735b20}.cell-waiting{background:#efe9db;color:#6f6250}.cell-planned{background:#e1e7f7;color:#4d5e87}.cell-pending{background:#f1f3f6;color:#667182}.cell-unknown{background:#fff;color:#a0aab3}.compact-matrix .constraint-cell{padding:9px;font-size:10px;line-height:1.4;background:#f0f5f7}.legend-working{color:#214f86}.legend-complete{color:#3d6634}.legend-remaining{color:#94721f}@media print{.compact-scroll{max-height:none;overflow:visible}.compact-matrix{min-width:0}.compact-matrix th,.compact-matrix td,.compact-matrix th:first-child{width:auto;position:static;font-size:7px}.stage-cell{min-height:0;padding:3px}.stage-cell strong,.stage-cell span,.stage-cell small,.stage-cell em{font-size:6px}.board-mode,.matrix-legend{display:none}.compact-matrix{print-color-adjust:exact}}
.map-root{background:#334c68;color:white;padding:22px 28px;border-radius:14px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin:24px 0}.map-root strong{font-size:22px}.map-root span{font-size:13px;color:#d3dfeb}.work-branches{border-left:2px solid #cad6e3;margin:0 0 24px 16px;padding:0 0 0 26px}.work-branch{position:relative;padding:0 0 26px}.work-branch:before{content:'';position:absolute;width:26px;height:2px;left:-28px;top:23px;background:#cad6e3}.branch-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.branch-heading h3{font-size:17px}.branch-heading button{font-size:11px}.branch-tasks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.map-task{text-align:left;white-space:normal;background:#f4f7fc;border:1px solid #dbe4ee;padding:17px;border-radius:12px}.map-task strong,.map-task>span,.map-task>small{display:block;margin-bottom:9px}.map-task strong{font-size:14px}.map-task>small{color:#728196}.map-unassigned{background:#fff7f0;border-color:#eddbca}.map-complete{background:#eff6ed;border-color:#d7e7d1}.map-dependency{font-size:11px;border-top:1px solid #dce4ec;padding-top:9px;line-height:1.5;color:#6c7684}@media(max-width:700px){.map-root{display:block;padding:18px}.map-root span{display:block;margin-top:8px}.work-branches{margin-left:0;padding-left:16px}.work-branch:before{left:-18px;width:16px}.branch-tasks{grid-template-columns:1fr}}
.personal-money{margin-bottom:28px;border:1px solid #dce5f0}.personal-money .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.personal-money .metric{background:#f2f5fa}.personal-money .money-outstanding{background:#fff0dd;color:#805321}.personal-money .panel-head label{font-size:12px}.personal-money details summary{cursor:pointer;font-weight:600;padding:12px 0}.purchase-line{padding:16px;border:1px solid #dce4ee;border-radius:10px;margin:15px 0}.purchase-line label{display:block;margin-bottom:12px}.purchase-line input,.purchase-line select{width:100%}@media(max-width:700px){.personal-money .metrics{grid-template-columns:1fr}.personal-money .panel-head{align-items:flex-start;flex-direction:column}.personal-money .metric strong{font-size:28px}}
.myday{margin:0 0 30px;padding:26px;border:1px solid #d7e2ef;background:linear-gradient(120deg,#fff,#f3f7fd)}.myday h2{font-size:28px;margin:7px 0}.myday h2 small{font-size:14px;color:#687d96}.myday-row{display:flex;align-items:flex-start;gap:12px;border-top:1px solid #dfe7f0;padding:13px 0}.reminder-check{flex-shrink:0;width:34px;height:34px;border-radius:50%;font-size:22px;padding:0;color:#4b678d}.myday-edit{text-align:left;background:transparent;border:0;padding:0;white-space:normal}.myday-edit strong,.myday-edit span,.myday-edit small{display:block}.myday-edit strong{font-size:16px;line-height:1.4}.myday-edit span{color:#738298;font-size:12px;margin-top:5px}.myday-edit small{margin-top:6px;color:#738298}.myday-late .myday-edit span{color:#b4603b}.myday details summary{padding:12px 0;cursor:pointer;color:#627894;font-size:13px}@media(max-width:700px){.myday{padding:19px}.myday .panel-head{display:block}.myday .panel-head>button{width:100%;margin:8px 0}.myday h2{font-size:25px}}
.compact-object-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.compact-object-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:112px;padding:18px 13px 12px;border:1px solid #dfe5ed;border-radius:13px;background:#fff;text-align:left;white-space:normal;transition:background .15s,border-color .15s}.compact-object-tile:hover{background:#edf3fa;border-color:#a8bfdc}.compact-object-tile strong{font-size:15px;line-height:1.25;font-weight:650;overflow-wrap:anywhere}.compact-object-tile small{margin-top:8px;font-size:10px;color:#778596;line-height:1.2}.object-state-dot{position:absolute;top:10px;right:10px;width:7px;height:7px;border-radius:50%;background:#9daab8}.state-active .object-state-dot{background:#5086c9}.state-finish .object-state-dot{background:#d99a42}.state-complete .object-state-dot{background:#669c75}.state-estimate .object-state-dot{background:#a082bf}.state-waiting .object-state-dot{background:#a4b2bf}.objects-heading{margin-bottom:16px}.objects-toolbar{margin-bottom:18px}.objects-toolbar input{flex:1;min-width:100px}.objects-toolbar select{max-width:200px}@media(min-width:1400px){.compact-object-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}@media(max-width:700px){.compact-object-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.compact-object-tile{min-height:96px;padding:16px 9px 10px;border-radius:10px}.compact-object-tile strong{font-size:12px}.compact-object-tile small{font-size:9px;margin-top:6px}.objects-toolbar{display:flex;gap:8px;flex-wrap:nowrap}.objects-toolbar select{width:130px;font-size:12px;padding:10px 6px}.objects-toolbar input{width:calc(100% - 138px);font-size:13px}.objects-heading h1{font-size:25px}}
.chat-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px}.chat-entry{display:flex;align-items:center;gap:15px;padding:22px;text-align:left;white-space:normal;border-radius:16px;background:white}.chat-entry>div{flex:1;min-width:0}.chat-entry strong,.chat-entry span,.chat-entry small{display:block}.chat-entry strong{font-size:20px}.chat-entry div span{font-size:12px;color:#6b7e91;margin-top:7px}.chat-entry small{font-size:11px;color:#96a0ac;margin-top:12px;overflow-wrap:anywhere}.chat-entry .chat-entry-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:#e9f0fa;color:#5977a2;border-radius:15px;font-size:16px}.chat-back{margin:0 0 18px}.chat-roster{background:#edf3f9;padding:16px 20px;border-radius:12px;margin-bottom:16px}.chat-roster p{margin:8px 0;font-size:13px}.chat-roster small{font-size:11px;color:#748194}.object-chat-card button{display:flex;justify-content:space-between;width:100%;margin-top:8px}.object-chat-card{margin:0}@media(max-width:700px){.chat-entry-grid{grid-template-columns:1fr}.chat-entry{padding:18px}.chat-entry strong{font-size:18px}}
/* Compact chat launcher: three app-sized tiles across on a phone. */
.chat-entry-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.chat-entry{position:relative;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px;min-height:132px;padding:15px 12px;border-radius:13px}.chat-entry>div{flex:0;width:100%}.chat-entry strong{font-size:14px;line-height:1.3}.chat-entry div span,.chat-entry small,.chat-entry>b{display:none}.chat-entry .chat-entry-icon{width:34px;height:34px;border-radius:10px;font-size:12px}.object-chat-card{padding:13px 10px;border-radius:12px}.object-chat-card h3{font-size:13px;line-height:1.3;margin-bottom:10px}.object-chat-card button{font-size:11px;padding:7px 5px;min-height:34px}.chat-entry-grid+.meta{font-size:11px}@media(max-width:700px){.chat-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chat-entry{min-height:112px;padding:12px 9px;gap:8px;border-radius:11px}.chat-entry strong{font-size:12px}.chat-entry .chat-entry-icon{width:30px;height:30px;font-size:11px}.object-chat-card{padding:12px 7px}.object-chat-card h3{font-size:11px;min-height:29px}.object-chat-card button{font-size:10px;padding:7px 3px}.object-chat-card button span{display:none}}
.chat-compact-heading{display:flex!important;flex-direction:row!important;align-items:center!important;margin-bottom:14px!important}.chat-compact-heading p{display:none}.chat-compact-heading h1{margin:0}.chat-compact-heading>button{font-size:12px;padding:8px 10px;min-height:36px;width:auto!important}.chat-compact-heading+.board-mode{margin-bottom:14px;gap:8px}.chat-compact-heading+.board-mode button{padding:10px 14px;min-height:38px}
.launcher-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.launcher-heading h1{margin:0;font-size:27px}.launcher-heading button{font-size:12px;padding:8px 12px}.phone-launcher{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:15px;margin-bottom:28px}.launcher-item{position:relative;min-width:0}.launcher-tile{width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;border-radius:18px;background:#fff;border:1px solid #dce5ef;padding:16px 10px;white-space:normal;position:relative;box-shadow:0 3px 8px #223a5310}.launcher-tile strong{font-size:15px;line-height:1.25;text-align:center}.launcher-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;font-size:27px;background:#edf2fa;color:#55769e}.launcher-item.orange .launcher-icon{background:#fcf0df;color:#b38548}.launcher-item.violet .launcher-icon{background:#efebfa;color:#8b77b1}.launcher-item.teal .launcher-icon{background:#e5f1ee;color:#5d8e83}.launcher-item.green .launcher-icon{background:#eaf2e3;color:#7c9767}.launcher-item.pink .launcher-icon{background:#f6eaf1;color:#a37694}.launcher-badge{position:absolute;top:8px;right:8px;font-size:10px;color:#6e7d90;background:#f0f3f8;border-radius:8px;padding:2px 5px}.launcher-plus{position:absolute;z-index:2;top:6px;right:6px;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;font-size:24px;line-height:1;color:white;background:#304d6e;border:2px solid white}.launcher-plus:hover{background:#466a94}.launcher-item.orange .launcher-badge{top:9px;left:8px;right:auto}.launcher-summary summary{cursor:pointer;color:#6f7f93;font-size:13px}.launcher-summary[open] summary{margin-bottom:20px}@media(max-width:700px){.phone-launcher{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.launcher-tile{border-radius:14px;gap:9px;padding:12px 7px}.launcher-tile strong{font-size:12px}.launcher-icon{width:34px;height:34px;font-size:23px;border-radius:10px}.launcher-plus{width:32px;height:32px;min-height:32px;top:4px;right:4px}.launcher-heading h1{font-size:24px}.launcher-heading{margin-bottom:18px}.launcher-heading button{font-size:11px}.launcher-badge{font-size:9px}}

.ladno-motto{font-size:12px;color:#76869a;line-height:1.5;margin:8px 0 0}.desk-brand b{letter-spacing:.045em}.desk-brand b small{letter-spacing:normal}
.object-live-tile{justify-content:flex-start;min-height:175px}.object-live-tile strong{padding-right:5px}.tile-process{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.35;margin-top:9px;color:#43596f;text-align:left}.tile-crew{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.3;color:#58789b;text-align:left;padding-top:9px;margin-top:auto;width:100%}.object-live-tile small{margin-top:5px}@media(max-width:700px){.object-live-tile{min-height:170px;padding:16px 8px 10px}.tile-process{font-size:10px;line-height:1.35;margin-top:8px}.tile-crew{font-size:9px;line-height:1.35;padding-top:8px}.object-live-tile strong{font-size:12px}}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.tool-card{margin:0}.tool-card h3{font-size:18px}.tool-card .split{flex-wrap:wrap}.tool-card p{overflow-wrap:anywhere}.tool-card button{font-size:12px}@media(max-width:700px){.tool-grid{grid-template-columns:1fr}}
.act-edit-row{padding:16px 0;border-bottom:1px solid #dce4ea}.act-edit-row>button{margin-top:10px}.act-print h1{font-size:23px}.act-signatures{margin-top:45px}.act-print .money-total{text-align:right;margin-top:20px}@media print{.act-print .table-wrap{overflow:visible}.act-print table{font-size:10px}.act-print td,.act-print th{padding:7px;overflow-wrap:anywhere}.act-print tr{break-inside:avoid}.act-print .act-signatures{break-inside:avoid}}
.gallery-object-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gallery-object-tile{padding:0 0 12px;overflow:hidden;text-align:left}.gallery-object-tile img,.gallery-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;display:grid;place-content:center;background:#e6edf4;color:#6e8197;text-align:center;font-size:28px}.gallery-placeholder small{font-size:11px}.gallery-object-tile>strong,.gallery-object-tile>small{display:block;margin:8px 10px 0}.gallery-object-tile>small{font-size:11px;color:#708095}@media(max-width:700px){.gallery-object-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gallery-object-tile>strong{font-size:12px}}
.calc-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:420px}.calc-keys button{min-height:54px;font-size:22px}
.fast-spend label{display:grid;gap:6px;margin-bottom:12px;font-size:14px}.fast-spend input,.fast-spend select{width:100%;min-width:0}.fast-spend .form-grid{grid-template-columns:1fr 1fr}.fast-spend h1{font-size:23px}.fast-spend .meta{margin:12px 0 0}#fast-spend-error{color:#a03443;margin-top:8px}
.launcher-icon svg{width:27px;height:27px}.chat-entry-icon svg{width:25px;height:25px}.launcher-icon{border:1px solid #ffffff90;box-shadow:inset 0 1px 0 #ffffffa0}.launcher-tile{transition:background .15s,transform .15s}.launcher-tile:hover{background:#f9fbfe}.launcher-tile:active{transform:scale(.97)}@media(max-width:700px){.launcher-icon svg{width:23px;height:23px}}
.tool-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}.tool-category-tile{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#fff;border-radius:17px;padding:12px}.tool-category-tile strong{font-size:15px}.tool-category-tile small{color:#748297}.tool-type-icon{display:grid;place-items:center;background:#e9eff8;color:#557394;border-radius:14px;width:58px;height:58px}.tool-type-icon svg{width:37px;height:37px}.tool-type-icon.tone-1{background:#e7f1ed;color:#668a7f}.tool-type-icon.tone-2{background:#f8eedf;color:#a3885a}.tool-category-title{margin-top:20px}@media(max-width:700px){.tool-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tool-category-tile{border-radius:14px;gap:7px}.tool-category-tile strong{font-size:12px}.tool-type-icon{width:40px;height:40px;border-radius:11px}.tool-type-icon svg{width:29px;height:29px}.tool-category-tile small{font-size:11px}}
@page schedule-landscape{size:A4 landscape;margin:8mm}
@media print{
body.printing-schedule{page:schedule-landscape;padding:0!important;background:white}
.printing-schedule .director-header,.printing-schedule .large-nav,.printing-schedule .workspace-mode,.printing-schedule .phone-nav,.printing-schedule .breadcrumb,.printing-schedule .tabs,.printing-schedule .board-summary{display:none!important}
.printing-schedule .main{padding:0!important;max-width:none!important}
.printing-schedule .board-panel,.printing-schedule .panel,.printing-schedule .board-scroll,.printing-schedule .compact-scroll{overflow:visible!important;max-height:none!important;border:0;padding:0}
.printing-schedule table{width:100%!important;min-width:0!important;table-layout:fixed}
.printing-schedule thead{display:table-header-group}
.printing-schedule tr{break-inside:avoid}
.printing-schedule th,.printing-schedule td{position:static!important;width:auto!important;overflow-wrap:anywhere;padding:3px!important}
.printing-schedule .compact-matrix th:first-child{width:23mm!important}
.printing-schedule .compact-matrix thead th,.printing-schedule .compact-matrix tbody th button{font-size:7px!important}
.printing-schedule .compact-matrix .constraint-cell{font-size:6px!important}
.printing-schedule .week-board th:first-child{width:30mm!important}
.printing-schedule .week-board td{height:auto}
.printing-schedule .week-board thead th{font-size:10px}
.printing-schedule .heading button,.printing-schedule .board-add,.printing-schedule .board-person-plan{display:none!important}
}
.messenger{padding:0;overflow:hidden;max-width:900px;margin-left:auto;margin-right:auto}.messenger>.panel-head{padding:16px 20px;margin:0;background:white;border-bottom:1px solid #e3e9ef}.messenger>.panel-head h2{font-size:18px}.messenger .chat-mode{font-size:11px;padding:8px 16px;margin:0;background:#f7f9fc}.messenger .messages{padding:16px;background:#eef2f5;min-height:250px;max-height:50vh;display:flex;flex-direction:column;gap:10px}.messenger .message{max-width:85%;width:fit-content;margin:0;padding:11px 14px;border:1px solid #e1e6ec;box-shadow:0 2px 3px #14253606}.messenger .message-own{margin-left:auto;background:#e2eee9;border-radius:15px 15px 3px 15px}.messenger .message-other{margin-right:auto;margin-left:0;background:#fff;border-radius:15px 15px 15px 3px}.messenger .message .meta{font-size:10px}.messenger .message p{margin:5px 0;font-size:14px}.messenger .message .link{font-size:10px;opacity:.7}.messenger .composer{background:white;padding:12px 16px}.messenger textarea{min-height:48px;max-height:140px;border-radius:18px;background:#f6f8fa;padding:12px 15px}.messenger .composer-actions{gap:8px}.messenger .composer-actions input{max-width:180px;font-size:10px;border:0;padding:2px}.messenger .composer-actions .primary{border-radius:18px;padding:10px 17px}.chat-roster{font-size:11px;padding:10px 14px;border:1px solid #e4e9ef;border-radius:12px;margin-bottom:12px}.chat-roster p{margin:4px 0}
.chat-roster summary{cursor:pointer;font-weight:600}.main:has(.messenger){max-width:960px}.main:has(.messenger) .chat-back{margin-bottom:8px}.director-shell:has(.messenger) .workspace-mode{display:none}.messenger{display:flex;flex-direction:column;height:calc(100dvh - 235px);min-height:340px}.messenger .messages{flex:1;min-height:60px;max-height:none}.messenger .composer{flex-shrink:0}.messenger .chat-mode{font-size:10px}.chat-roster[open]+.messenger{height:450px}@media(max-width:700px){.messenger>.panel-head{padding:10px 14px}.messenger>.panel-head .meta{font-size:11px}.messenger .composer{padding:8px 12px}.messenger .composer>label{display:none}.messenger .composer-actions{margin-top:6px}.messenger .progress-text:empty{display:none}.messenger .attachments:empty{display:none}.messenger .chat-mode{padding:5px 12px}.chat-roster{margin:0 0 8px;padding:7px 12px}.messenger .composer-actions .primary{font-size:12px}}
.object-section-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eaf0f7;color:#567493}.object-section-icon svg{width:26px;height:26px}.object-section-tile small{font-size:10px;color:#788698}.object-section-tile strong{font-size:13px}details .phone-launcher{margin-top:16px}
.object-color-key{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:11px;margin:0 0 14px}.key-red{color:#a54140}.key-green{color:#34734e}.key-gray{color:#707986}.key-blue{color:#53728f}.compact-object-tile.object-live-tile{aspect-ratio:1;width:100%;min-height:0;min-width:0;height:auto;padding:9px;gap:5px;overflow:hidden;border-top-width:4px}.object-live-tile .object-status-badge{font-size:10px;line-height:1.2;border-radius:5px;padding:3px 6px;font-weight:600;max-width:100%;white-space:nowrap}.signal-red{border-color:#deaba9;background:#fff8f7}.signal-red .object-status-badge{background:#f4dad7;color:#9e3430}.signal-green{border-color:#a6cdb3;background:#f7fcf8}.signal-green .object-status-badge{background:#dcefe1;color:#2e6a44}.signal-gray{border-color:#c8cdd3;background:#f4f5f6}.signal-gray .object-status-badge{background:#e2e5e9;color:#59636e}.signal-blue{border-color:#b6c8dc;background:#f7faff}.signal-blue .object-status-badge{background:#e3edf8;color:#4c6988}.object-live-tile strong{font-size:13px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}.object-live-tile .tile-process{font-size:10px;line-height:1.2;margin:0;-webkit-line-clamp:1;flex-shrink:1}.object-live-tile .tile-crew{font-size:10px;line-height:1.2;padding:0;margin-top:auto;-webkit-line-clamp:1;flex-shrink:0}@media(max-width:700px){.compact-object-tile.object-live-tile{padding:6px;gap:4px}.object-live-tile strong{font-size:11px}.object-live-tile .object-status-badge{font-size:9px;padding:2px 4px}.object-live-tile .tile-process,.object-live-tile .tile-crew{font-size:9px}.object-color-key{font-size:10px;gap:6px 10px}}
.object-live-tile .tile-process,.object-live-tile .tile-crew{-webkit-line-clamp:2}
.stage-color-key{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:#596c7c;margin-bottom:16px}.stage-tile{border-top-width:4px}.stage-tile.stage-tone-complete{background:#eaf5ed;border-color:#9dc6aa;color:#306444}.stage-tile.stage-tone-working{background:#eaf2fc;border-color:#a1bbdf;color:#345f92}.stage-tile.stage-tone-remaining{background:#fff7e1;border-color:#e2cb88;color:#836922}.stage-tile.stage-tone-waiting,.stage-tile.stage-tone-pending,.stage-tile.stage-tone-unknown{background:#f0f2f4;border-color:#c5cbd2;color:#63717c}.stage-tile.stage-tone-planned{background:#f0f3fa;border-color:#bec9df;color:#607398}.stage-tile .object-section-icon{background:#ffffff80;color:inherit}.stage-tile small{color:inherit;font-weight:600}.stage-tile:hover{filter:brightness(.98)}
.master-nav{display:grid;grid-template-columns:repeat(3,1fr)}.master-shell .main{padding-bottom:100px}.master-shell .split{margin-top:12px}.report-object-link{width:100%;margin-bottom:16px;padding:15px;text-align:left}
.day-tile-preview{font-size:10px;line-height:1.25;color:#6c7a90;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}.launcher-tile:has(.day-tile-preview){gap:7px}.launcher-tile:has(.day-tile-preview) .launcher-icon{width:30px;height:30px}.launcher-tile:has(.day-tile-preview) .launcher-icon svg{width:22px;height:22px}

/* Quiet tool wallpaper: same line drawings as the inventory tiles. */
body{background-color:#f3f5f4;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iMzYwIiB2aWV3Qm94PSIwIDAgNDAwIDM2MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjOTFhNDljIiBzdHJva2Utb3BhY2l0eT0iMC4yNCIgc3Ryb2tlLXdpZHRoPSIxLjEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjIpIHJvdGF0ZSgtMTggMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNMyAxNWE1IDUgMCAxIDAgMTAgMCA1IDUgMCAwIDAtMTAgMG01LTF2Mm0zLTUgNS02IDUgNC03IDZtMi0xMC0yLTJtNSA5IDIgMiIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMTcgNDgpIHJvdGF0ZSgxNCAxNSAxNSkgc2NhbGUoMS4zNSkiPjxwYXRoIGQ9Ik0zIDVoMTR2N0gzVjVtMTQgMmg1TTcgMTJ2OGg1di04TTMgOEgxbTEyIDBoMSIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTYgMTcpIHJvdGF0ZSgtOCAxNSAxNSkgc2NhbGUoMS4zNSkiPjxwYXRoIGQ9Ik0yIDIxaDIwTTUgMjF2LTRoMTR2NE04IDE0bDYtMTBoNXY0bS0yIDFhNSA1IDAgMSAwIDAgMTAgNSA1IDAgMCAwIDAtMTBtMCA0djIiLz48L2c+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzE1IDY1KSByb3RhdGUoMjIgMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNMyAyMGgxOE03IDE3VjhhNCA0IDAgMCAxIDQtNGg1djEzSDdtMy0xMGgzdjRoLTNWN20yIDEwdjMiLz48L2c+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjEgMTMyKSByb3RhdGUoMTIgMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNNiA4aDEydjEySDZWOG0zLTNoNnYzTTggMjB2Mm04LTJ2Mm0yLTEwaDJhMiAyIDAgMCAwIDItMlY0TTkgMTJoNiIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjUgMTU1KSByb3RhdGUoLTE5IDE1IDE1KSBzY2FsZSgxLjM1KSI+PHBhdGggZD0iTTMgNGgxNHY3SDNWNG0xNCAyaDVNNyAxMXY4aDZsLTItOE01IDE5aDEwdjNINXYtMyIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyODAgMTQwKSByb3RhdGUoMTUgMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNMyA1aDEzdjdIM1Y1bTEzIDNoNk02IDEybC0xIDhoNmwxLThNNCAyMEgyIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM0OCAxOTgpIHJvdGF0ZSgtMTUgMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNMyAxN2gxOHY0SDN2LTRtMyAwVjloMTJ2OE04IDlWNGg4djVtLTYgMTJ2LTJtNCAydi0yIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2IDI0NCkgcm90YXRlKDIwIDE1IDE1KSBzY2FsZSgxLjM1KSI+PHBhdGggZD0iTTYgNmgxMnYxNEg2VjZtNCAwVjNoNHYzTTkgMTBoNnY1SDl2LTVNMiAxMmgybTE2IDBoMk0xMiAyMHYyIi8+PC9nPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyNiAyNTMpIHJvdGF0ZSgtOCAxNSAxNSkgc2NhbGUoMS4zNSkiPjxwYXRoIGQ9Ik0yIDE4aDIwdjRIMnYtNE01IDE4VjdoMTR2MTFNNSAxMGgxNG0tNyA4VjZsNS00bS01IDExIDMgMyIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMzggMjYwKSByb3RhdGUoLTIwIDE1IDE1KSBzY2FsZSgxLjM1KSI+PHBhdGggZD0iTTUgM2gxNHY3SDVWM20zIDB2N204LTd2N20tNCAwdjdtLTQgMGg4bC0yIDVoLTRsLTItNSIvPjwvZz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMTUgMzAzKSByb3RhdGUoMTIgMTUgMTUpIHNjYWxlKDEuMzUpIj48cGF0aCBkPSJNMyA4aDE4djEzSDNWOG01IDBWNGg4djRNMyAxM2gxOG0tMTEtMnY0aDJ2LTQiLz48L2c+PC9nPjwvc3ZnPg==');background-size:400px 360px;background-repeat:repeat}
.director-shell,.master-shell{background:transparent}
.director-shell .main,.master-shell .main{background:transparent}
@media print{body{background:#fff!important}}
.object-passport{margin:12px 0 16px;padding:14px;background:#ffffffee;border:1px solid #dfe6e1;border-radius:15px;max-width:850px}.object-address{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;line-height:1.5}.object-address>span{white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.object-address button{font-size:11px;padding:6px 9px;min-height:32px;flex-shrink:0}.object-access{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;font-size:12px}.object-access small{display:block;color:#738178;font-size:11px;margin-bottom:7px}.object-access button{font-size:11px;padding:6px;min-height:32px;overflow-wrap:anywhere}.object-passport .split{flex-wrap:wrap}.object-passport .split button,.camera-open{font-size:12px}.camera-open{display:inline-flex;align-items:center;background:#e6f1ea;padding:10px 14px;border-radius:10px;color:#2c624b;text-decoration:none}.heading:has(.object-passport)>div{width:100%}@media print{.object-access{display:none}}
/* A concise management summary, preserving the user's app-like tile order. */
.director-focus{margin:22px 0;background:#ffffffed}.director-focus h2{font-size:19px;margin:0}.director-focus .panel-head{gap:12px}.focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.focus-grid>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;text-align:left;min-height:98px;padding:15px;background:#f1f6f3;border:1px solid #dce8e0;border-radius:14px}.focus-grid strong{font-size:24px;color:#294d42;overflow-wrap:anywhere}.focus-grid span{font-size:12px;color:#52685e}.focus-grid .focus-amber{background:#fbf6e8;border-color:#eee3c4}.focus-grid button:hover{box-shadow:0 3px 12px #294d4210}.task-focus-toolbar{padding:14px;background:#ffffffed;border:1px solid #e1e8e3;border-radius:15px}.task-focus-toolbar form{display:flex;gap:8px;margin-bottom:12px}.task-focus-toolbar input{flex:1;min-width:0}.task-focus-toolbar .toolbar{margin:0;flex-wrap:wrap}.task-focus-toolbar select{min-width:0;max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8cae9f;outline-offset:3px}@media(max-width:700px){.focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.director-focus{padding:15px}.focus-grid strong{font-size:21px}.task-focus-toolbar .toolbar select{flex:1 1 130px}.focus-grid>button{min-height:90px;padding:12px}}@media print{.director-focus,.task-focus-toolbar{display:none!important}}
.password-control{display:flex;align-items:stretch;border:1px solid #d5ddd9;border-radius:11px;overflow:hidden;background:#fff;margin-top:6px}.password-control input{border:0!important;margin:0!important;border-radius:0;flex:1;min-width:0;width:100%}.password-control .password-toggle{border:0;border-left:1px solid #e5ebe6;border-radius:0;background:#f0f5f2;color:#355b4c;font-size:12px;min-width:84px;padding:10px;flex-shrink:0}.password-control:focus-within{outline:2px solid #91b2a0;outline-offset:2px}.auth-caps:empty{display:none}.auth-login-hint{font-size:12px;line-height:1.5}.auth-caps{color:#80621b}
.director-header{flex-wrap:wrap}.workspace-clock{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 9px;margin-left:auto;color:#355b4c;font-variant-numeric:tabular-nums}.workspace-clock time{font-size:22px;font-weight:600;letter-spacing:.02em}.workspace-clock small{grid-row:2;grid-column:1 / 3;font-size:11px;color:#6b7d76}.workspace-clock>span{font-size:9px;color:#81948b}@media(max-width:700px){.workspace-clock{width:100%;margin:0;border-top:1px solid #e7ece9;padding-top:9px;grid-template-columns:1fr auto auto;gap:8px}.workspace-clock time{grid-column:2;font-size:19px}.workspace-clock small{grid-column:1;grid-row:1;font-size:12px}.workspace-clock>span{grid-column:3;grid-row:1}}@media print{.workspace-clock{display:none}}
.launcher-heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.launcher-heading-actions .desk-add-expense{width:48px;height:48px;min-height:48px;padding:0;border-radius:12px;font-size:32px;line-height:1;background:#304d6e;color:white;border:1px solid #304d6e;display:grid;place-items:center}.launcher-heading-actions .desk-add-expense:hover{background:#42678b}.launcher-heading-actions>[data-director]{min-height:48px}.launcher-heading{flex-wrap:wrap}.launcher-heading>div:first-child{flex:1 1 180px}.launcher-heading-actions{margin-left:auto}@media(max-width:700px){.launcher-heading>div:first-child{flex-basis:100%}.launcher-heading-actions{margin-left:0;width:100%;justify-content:flex-end}.launcher-heading-actions .desk-add-expense{width:48px;height:48px;font-size:32px}}
.expense-total-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.expense-total-grid>div{padding:15px;background:#f2f5f3;border-radius:12px}.expense-total-grid small{display:block;color:#718076;margin-bottom:8px;font-size:12px}.expense-total-grid strong{font-size:23px;overflow-wrap:anywhere}.expense-total-grid .expense-owed{background:#e7f1e9;color:#365744}.expense-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:9px;margin:16px 0}.expense-project{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;padding:13px;border-radius:12px;min-height:95px;background:#f8faf9}.expense-project.selected{border:2px solid #537d69;background:#eaf3ed}.expense-project strong{font-size:13px}.expense-project small{font-size:11px;color:#65786c}.expense-selection{padding:12px 0;border-top:1px solid #e3e9e5}.expense-selection h3{margin:5px 0}.expense-selection p{font-size:13px}.expense-purchase{padding:16px 0;border-top:1px solid #e2e9e4}.expense-purchase-title{display:flex;justify-content:space-between;gap:12px}.expense-purchase-title>b{white-space:nowrap}.expense-receipts{margin-bottom:10px}.expense-projects .toolbar{flex-wrap:wrap}.expense-projects .toolbar label{flex:1;min-width:130px}.expense-projects select{width:100%}@media(max-width:700px){.expense-total-grid{grid-template-columns:1fr 1fr}.expense-total-grid .expense-owed{grid-column:1/-1}.expense-total-grid strong{font-size:21px}.expense-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-purchase .split{flex-wrap:wrap}.expense-overview,.expense-projects{padding:15px}}

/* Compact workspace chrome: brand, account, clock and quick purchase. */
.director-header{padding:9px 4%;gap:12px;flex-wrap:nowrap}
.desk-brand{gap:9px}.desk-brand>span{width:34px;height:34px;font-size:19px;border-radius:10px}
.desk-brand b{font-size:17px;line-height:1.15}.desk-brand b small{display:block;font-size:10px;line-height:1.3;margin-top:3px;color:#748079;font-weight:400}
.director-profile{margin-left:auto;gap:8px}.director-profile .avatar{display:none}.director-profile strong{font-size:13px}.director-profile button{min-height:34px;padding:6px 10px;margin-left:3px}
.workspace-mode{display:none}
.workspace-clock{margin:0;flex-shrink:0;width:auto;border:0;padding:0;grid-template-columns:auto auto;gap:1px 5px}.workspace-clock time{font-size:16px;grid-column:1;grid-row:1}.workspace-clock small{font-size:10px;grid-column:1/3;grid-row:2}.workspace-clock>span{grid-column:2;grid-row:1}
.launcher-heading{flex-wrap:nowrap;gap:8px;margin:0 0 14px}.launcher-heading>div:first-child{flex:1 1 auto}.launcher-heading h1{font-size:21px;line-height:1.2}.launcher-heading-actions{width:auto;margin-left:auto;gap:7px}.launcher-heading-actions .desk-add-expense{width:44px;height:44px;min-height:44px;font-size:30px;border-radius:10px}.launcher-heading-actions>[data-director]{min-height:44px;padding:7px 10px}
@media(max-width:700px){.director-header{padding:8px 4%;gap:8px;flex-wrap:wrap}.desk-brand>span{display:none}.desk-brand b{font-size:16px}.desk-brand b small{font-size:9px}.director-profile{gap:5px}.director-profile strong{font-size:12px}.director-profile small{font-size:9px}.director-profile button{font-size:10px;padding:6px 8px}.workspace-clock{width:100%;display:flex;gap:7px;justify-content:flex-end}.workspace-clock small{margin-right:auto;font-size:10px}.workspace-clock time{font-size:12px;order:1}.workspace-clock>span{order:2;font-size:8px}.launcher-heading h1{font-size:19px}.launcher-heading>div:first-child{flex-basis:auto}.launcher-heading-actions{width:auto;margin-left:auto}.director-shell .main{padding-top:12px}}

@media(max-width:700px){.director-header .director-profile>div{max-width:90px}.director-profile small{line-height:1.25}.director-header .desk-brand{flex:0 0 auto}.director-profile{flex:0 1 auto}.director-header{column-gap:6px;row-gap:5px}}
.compact-reminder{max-width:480px}.compact-reminder .form-grid{gap:12px}.compact-reminder details summary{cursor:pointer;color:#64756f;padding:6px 0}.compact-reminder details[open]{display:grid;gap:10px}.compact-reminder .form-actions{margin-top:16px}.master-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}.master-sections button{min-height:64px;border-radius:14px;white-space:normal}.master-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.master-photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.master-shell header small{display:block}
.objects-view-actions{display:flex;align-items:center;gap:9px;margin-bottom:16px;flex-wrap:wrap}.objects-table-switch{display:flex;align-items:center;gap:8px;min-height:44px;border-radius:10px;font-weight:600}.objects-table-switch span{font-size:25px}.objects-week{margin-top:26px}.object-week-table{border-collapse:separate;border-spacing:0;min-width:1450px;width:100%}.object-week-table th,.object-week-table td{border-right:1px solid #e1e8e4;border-bottom:1px solid #e1e8e4;padding:9px;vertical-align:top;min-width:175px}.object-week-table th{background:#eef3f0;text-align:left}.object-week-table th:first-child{position:sticky;left:0;z-index:2;min-width:160px;max-width:180px}.object-week-table thead th{position:sticky;top:0;z-index:3}.object-week-table thead th:first-child{z-index:4}.week-task{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;width:100%;white-space:normal;padding:10px;margin-bottom:6px;background:#f1f3f4;border:1px solid #dce2df;border-radius:9px;font-size:12px}.week-task span{font-size:12px}.week-task small{font-size:10px}.week-task-done{background:#e7f2e7}.week-task-active{background:#e8f0fb}.objects-table-view .compact-scroll{max-height:58vh}.objects-table-view .objects-week .board-scroll{max-height:65vh}.objects-table-view .matrix-red{color:#8b762c}@media print{.objects-view-actions{display:none}.objects-table-view .compact-scroll,.objects-table-view .objects-week .board-scroll{max-height:none}}
.object-status-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.object-status-column{min-width:0}.object-status-column>h2{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:14px;margin:0 0 12px;padding:9px 0;border-top:3px solid #7798c5}.object-status-column.column-red>h2{border-color:#cc847d}.object-status-column.column-green>h2{border-color:#7ca586}.object-status-column h2 small{font-size:11px;color:#718078}.object-column-cards{display:grid;gap:10px}.object-column-cards .compact-object-tile{width:100%;aspect-ratio:1}.waiting-label{font-size:12px;color:#78817e;margin:20px 0 10px}@media(max-width:700px){.object-status-columns{gap:8px}.object-status-column>h2{font-size:10px;min-height:40px;align-items:flex-start}.object-column-cards{gap:8px}.object-status-column h2 small{font-size:9px}.waiting-label{font-size:10px}} 
.ladno-brand-mark{display:block;width:42px;height:42px;flex-shrink:0}.source-estimate{padding:16px 0;border-bottom:1px solid #e1e7e3}.source-estimate>strong{overflow-wrap:anywhere}.source-estimate:last-child{border-bottom:0}.source-estimate .split{align-items:center}.source-estimate a{color:#315e4e;font-size:13px}@media(max-width:700px){.ladno-brand-mark{width:30px;height:30px}.director-header .desk-brand{gap:6px}.director-header .desk-brand b{font-size:14px}.director-header .desk-brand b small{font-size:8px}.director-header .director-profile>div{max-width:70px}.director-header .director-profile small{font-size:8px}.director-header .director-profile button{padding:5px;font-size:9px}}
/* Brand lockup: icon and both text lines share the same visual height. */
.director-header .desk-brand{display:flex;align-items:center;gap:9px}
.director-header .ladno-brand-mark{width:44px;height:44px;flex-shrink:0}
.director-header .desk-brand b{display:flex;flex-direction:column;justify-content:center;font-size:17px;line-height:1.1;letter-spacing:.04em}
.director-header .desk-brand b small{display:block;margin-top:4px;font-size:9px;line-height:1.2;letter-spacing:0;font-weight:400}
@media(max-width:700px){.director-header .desk-brand{gap:7px}.director-header .ladno-brand-mark{width:38px;height:38px}.director-header .desk-brand b{font-size:15px;line-height:1.05}.director-header .desk-brand b small{font-size:7px;line-height:1.15;margin-top:3px}.director-header .director-profile{gap:4px}.director-header .director-profile>div{max-width:64px}}
.media-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.media-folder-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:1;min-width:0;width:100%;padding:12px 8px;border:1px solid #dde4eb;border-radius:15px;background:#fff;text-align:center;white-space:normal}.media-folder-tile[hidden]{display:none}.media-folder-tile strong{font-size:14px;line-height:1.2;overflow-wrap:anywhere}.media-folder-tile small{font-size:10px;color:#78889a;line-height:1.25}.media-folder-icon{width:36px;height:36px;padding:7px;background:#edf2f9;border-radius:10px;color:#486b93}.media-folder-icon svg{width:100%;height:100%}#media-folder-search{width:100%}@media(max-width:700px){.media-folder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.media-folder-tile{gap:6px;padding:9px 5px;border-radius:12px}.media-folder-tile strong{font-size:11px}.media-folder-tile small{font-size:8px}.media-folder-icon{width:28px;height:28px;padding:5px}}
.staffing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin:15px 0 24px}.staffing-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;min-width:0;aspect-ratio:1;padding:14px;border:1px solid #dfd9c8;border-top:3px solid #bea778;background:#fffefa;border-radius:13px;text-align:left;white-space:normal}.staffing-tile strong{font-size:15px;line-height:1.2}.staffing-label{font-size:10px;color:#8f784b}.staffing-roles{font-size:12px;line-height:1.35}.staffing-tile small{font-size:10px;color:#79838b}.staffing-tile small:last-child{margin-top:auto}.task-list-details>summary{cursor:pointer;font-weight:600}.task-list-details[open]>summary{margin-bottom:18px}@media(max-width:700px){.staffing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.staffing-tile{padding:9px 6px;gap:5px;aspect-ratio:auto;min-height:155px}.staffing-tile strong{font-size:11px;overflow-wrap:anywhere}.staffing-label{font-size:8px}.staffing-roles{font-size:9px}.staffing-tile small{font-size:8px}}
.master-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#e3edf8;color:#244979;padding:9px 4%;font-size:11px}.master-preview-banner button{font-size:11px;padding:7px;border-radius:8px}
.master-launcher .launcher-tile small{font-size:10px;color:#7c8795;line-height:1.2;text-align:center}.master-launcher .launcher-tile{gap:9px}.master-back{margin-bottom:16px}.master-shell .director-profile strong{max-width:130px;display:block;line-height:1.2}.master-shell .phone-nav{display:grid}@media(max-width:700px){.master-launcher .launcher-tile small{font-size:8px}.master-launcher .launcher-tile{gap:7px}.master-shell .director-header .director-profile>div{max-width:130px}.master-launcher .launcher-tile{min-height:102px}}
.master-stage-object{aspect-ratio:1;min-height:0;justify-content:center;gap:8px;padding:14px!important}.master-stage-object span{font-size:12px;line-height:1.35}.stage-volume-form{display:grid;gap:12px;margin-top:16px}.stage-volume-form label{display:grid;gap:6px;font-size:12px}.volume-inputs{display:grid;grid-template-columns:1fr 90px;gap:10px}.stage-volume-form input,.stage-volume-form select{width:100%;min-width:0}.volume-total{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid #dce4e9}.volume-total span{font-size:12px;color:#526372}
.master-week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.master-day-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;aspect-ratio:1;padding:14px;overflow:hidden;background:#fff;border:1px solid #dce4e9;border-radius:18px}.master-day-tile.is-today{border:2px solid #244979;background:#f0f5fc}.master-day-tile>span{display:grid;gap:3px;font-size:12px}.master-day-tile small{font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.master-day-tile strong{font-size:14px}@media(max-width:650px){.master-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.master-state-active{background:#e8f3e9!important;border:2px solid #7daf88!important}.master-state-future{background:#edf2ff!important;border:2px solid #426bb5!important}.master-state-done{background:#e5f6ff!important;border:2px solid #8ccbe9!important}
.tiler-quantity-panel{padding:16px!important}.tiler-quantity-panel h2{margin:0 0 6px;font-size:18px}.tiler-quantity-panel .meta{font-size:12px;margin:8px 0}.tiler-quantity-row{display:grid;grid-template-columns:minmax(0,1fr) 76px 48px;align-items:center;gap:8px;min-height:47px;border-bottom:1px solid #e6ebef}.tiler-quantity-row label{font-size:14px;line-height:1.25}.tiler-quantity-row input,.tiler-quantity-row select{width:100%;min-width:0;min-height:36px!important;padding:7px!important;font-size:14px;margin:0}.tiler-quantity-row span{font-size:12px;color:#53677b}.tiler-quantity-head{display:flex;justify-content:space-between;padding:6px 52px 6px 0;font-size:11px;color:#64748b}.tiler-more summary{padding:12px 0;cursor:pointer;font-size:13px}.tiler-quantity-panel [type=submit]{width:100%;min-height:40px}
.material-object-form{display:grid;gap:10px;margin-top:12px}.material-object-form label{display:grid;gap:4px;font-size:12px}.material-object-form input,.material-object-form select{min-width:0;width:100%;min-height:36px;padding:8px}.material-table-panel{padding:10px!important;overflow-x:auto}.material-object-table{width:100%;table-layout:fixed;font-size:12px;border-collapse:collapse}.material-object-table th,.material-object-table td{padding:10px 6px;text-align:left;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #e4eaf0;vertical-align:top}.material-object-table th:first-child{width:48%}.material-object-table small{display:block;color:#637386;font-size:11px;margin-top:4px}
.master-day-work{aspect-ratio:1;min-height:0!important;padding:14px!important;gap:8px;justify-content:center;overflow-wrap:anywhere}.master-day-work strong{font-size:14px!important;line-height:1.3}.day-work-status{font-size:10px;color:#35634a;background:#e5f2e8;border-radius:8px;padding:3px 7px}.master-day-work small{font-size:11px}
.master-day-work-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,196px));gap:12px;align-items:start}.master-day-work-card{box-sizing:border-box;width:100%;aspect-ratio:1;min-width:0;display:grid;grid-template-rows:24px minmax(0,1fr) 38px;gap:8px;padding:16px;border:1px solid #dce5ee;border-radius:18px;background:#fff;text-align:left;white-space:normal;box-shadow:0 3px 12px #24497906;color:#233750}.master-day-work-card .day-work-status{justify-self:start;align-self:start;font-size:10px;line-height:16px;padding:3px 8px;border-radius:7px;white-space:nowrap}.master-day-work-card.work-planned .day-work-status{background:#edf2fc;color:#496b9d}.master-day-work-card strong{align-self:center;font-size:14px;font-weight:650;line-height:1.3;overflow-wrap:normal;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.day-work-footer{display:grid;gap:4px;align-content:end;font-size:12px;line-height:15px;color:#52677f}.day-work-footer>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.day-work-footer small{font-size:10px;color:#7b8b9c}.master-day-work-card:hover{border-color:#9fb6d0;box-shadow:0 5px 16px #24497910}.master-day-work-card:focus-visible{outline:2px solid #244979;outline-offset:3px}@media(max-width:480px){.master-day-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.master-day-work-card{padding:12px;grid-template-rows:22px minmax(0,1fr) 34px;gap:6px;border-radius:15px}.master-day-work-card strong{font-size:13px;line-height:1.25}.day-work-footer{font-size:11px}}
/* Compact week: seven days fit in three rows on a phone. */
.master-week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.master-day-tile{aspect-ratio:1;min-height:0;padding:10px;gap:6px;border-radius:13px}.master-day-tile strong{font-size:12px;line-height:1.2}.master-day-tile>span{font-size:11px;gap:2px;min-height:0}.master-day-tile small{font-size:10px;line-height:1.2;-webkit-line-clamp:2}.master-day-tile>span b{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:900px){.master-week-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:440px}.master-day-tile{padding:9px;gap:5px}.master-day-tile>span:nth-of-type(n+2){display:none}}@media(max-width:360px){.master-day-tile{padding:7px}.master-day-tile strong{font-size:11px}.master-day-tile>span{font-size:10px}.master-day-tile small{font-size:9px}}
@media(max-width:900px){.master-week-grid .master-day-tile{aspect-ratio:auto;height:96px;padding:8px;gap:4px}.master-week-grid .master-day-tile strong{font-size:11px}.master-week-grid .master-day-tile>span{font-size:10px}.master-week-grid .master-day-tile small{font-size:9px}.master-week-grid .week-extra-count{margin-top:auto}main:has(.master-week-grid) h1{margin-top:12px;margin-bottom:6px}}
@media(max-width:900px){.master-week-grid .master-day-tile{height:88px;gap:3px;padding:7px}}
.master-section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.master-section-tabs button{padding:10px 5px;font-size:12px;min-width:0}.prep-line{font-size:13px;padding:8px 0;border-bottom:1px solid #e5eaf0;margin:0}.master-photo-grid article small{display:block;font-size:11px;color:#637386;margin:5px 0}
.compact-object-prep{display:grid;gap:8px;margin-top:10px}.prep-address,.prep-fold{border:1px solid #dfe7ee;border-radius:13px;background:#fff;padding:12px 14px}.prep-caption{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#7b8b9c}.prep-address p{font-size:14px;line-height:1.35;margin:5px 0 10px;user-select:text}.prep-facts{display:flex;flex-wrap:wrap;gap:14px;font-size:11px;color:#66798d}.prep-facts b{color:#243c57;margin-left:3px}.prep-fold summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:13px;font-weight:600;min-height:24px;list-style:none}.prep-fold summary::-webkit-details-marker{display:none}.prep-fold summary:after{content:'⌄';font-size:16px;color:#74869b}.prep-fold[open] summary:after{content:'⌃'}.prep-fold summary small{font-size:10px;font-weight:400;color:#7b8b9c;margin-left:auto;white-space:nowrap}.prep-fold .meta,.prep-note{font-size:12px;line-height:1.4;margin:10px 0 0;white-space:pre-wrap}.prep-fold .prep-line{padding:7px 0;font-size:12px}.prep-fold .prep-line:last-child{border:0}.compact-object-prep .material-object-table td{font-size:12px;padding:8px 4px}
.main:has(.compact-object-prep)>.master-back{display:none}.main:has(.compact-object-prep)>h1{font-size:22px;margin:12px 0}.main:has(.compact-object-prep) .master-section-tabs{margin:10px 0;gap:6px}.main:has(.compact-object-prep) .master-section-tabs button{min-height:36px;padding:8px 5px}.compact-object-prep{gap:7px}.prep-address,.prep-fold{padding:9px 12px}.prep-address p{margin:4px 0 7px}.prep-fold summary{min-height:21px}
.earnings-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.earnings-summary>span{display:grid;gap:5px;padding:12px;background:#eef4fa;border-radius:12px;font-size:12px}.earnings-summary b{font-size:18px;color:#244979}

/* Master project cards grow with their full title, status and dates. */
.media-folder-grid:has(> .master-stage-object[data-master-object]){grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-items:stretch}
.media-folder-tile.master-stage-object[data-master-object]{aspect-ratio:auto;height:auto;min-height:160px;justify-content:flex-start;gap:8px;box-sizing:border-box}
.master-stage-object[data-master-object]>strong,.master-stage-object[data-master-object]>small,.master-stage-object[data-master-object]>span{display:block;flex-shrink:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;-webkit-line-clamp:unset}
@media(max-width:700px){.media-folder-grid:has(> .master-stage-object[data-master-object]){grid-template-columns:repeat(2,minmax(0,1fr))}.master-stage-object[data-master-object]>strong{font-size:13px}.master-stage-object[data-master-object]>small{font-size:11px}}

/* Compact master project tiles, without clipping their contents. */
.media-folder-tile.master-stage-object[data-master-object]{min-height:0;padding:10px 8px!important;gap:4px;border-radius:12px}
.master-stage-object[data-master-object]>strong{font-size:12px;line-height:1.25}
.master-stage-object[data-master-object]>small{font-size:10px;line-height:1.25}
.master-stage-object[data-master-object]>span{font-size:10px;line-height:1.3}

.master-shell .main:has(> .master-objects-heading){display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:center;column-gap:10px;row-gap:10px}
.master-shell .main:has(> .master-objects-heading)>*{grid-column:1 / -1}
.master-shell .main:has(> .master-objects-heading)>.master-back{grid-column:1;margin:0;padding:7px 9px;font-size:11px;min-height:32px;border-radius:8px}
.master-shell .main>.master-objects-heading{grid-column:2!important;margin:0;font-size:18px;line-height:1.2;text-align:right}
.master-shell .main:has(> .master-objects-heading)>.toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0}
.master-shell [data-master-archive]{width:100%;min-height:30px;padding:6px 8px;font-size:11px;line-height:1.2;border-radius:8px}

.master-shell .main:has(.master-photo-heading)>.master-back{padding:6px 9px;font-size:11px;margin-bottom:8px;min-height:30px;border-radius:8px}
.master-photo-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.master-photo-heading>[data-master-photo-back]{padding:6px 8px;font-size:11px;min-height:30px;border-radius:8px}
.master-photo-heading h1{flex:1;min-width:0;font-size:18px;line-height:1.2;margin:0;overflow-wrap:anywhere}
.master-photo-heading .master-camera{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:8px;background:#244979;color:white;border-radius:10px}
.master-camera svg{width:20px;height:20px}
#master-photo-progress:empty{display:none}

/* Object gallery: title at top right, a prominent camera on the left. */
.master-shell .main:has(> .master-photo-heading){display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:10px}
.master-shell .main:has(> .master-photo-heading)>*{grid-column:1 / -1}
.master-shell .main:has(> .master-photo-heading)>.master-back{grid-column:1;grid-row:1;justify-self:start;margin:0}
.master-photo-heading{display:contents}
.master-photo-heading h1{grid-column:2;grid-row:1;text-align:right;font-size:20px;max-width:180px}
.master-photo-heading>[data-master-photo-back]{grid-column:1 / -1;grid-row:2;justify-self:start}
.master-photo-heading .master-camera{grid-column:1 / -1;grid-row:3;justify-self:start;width:64px;height:64px;padding:16px;border-radius:16px}
.master-photo-heading .master-camera svg{width:32px;height:32px}

/* Compact director-only master preview picker. */
dialog:has([data-preview-person]) .dialog-head h2{font-size:17px;line-height:1.2;white-space:nowrap;margin:0}
dialog:has([data-preview-person]) .dialog-head{gap:8px;align-items:center}
dialog:has([data-preview-person]) .dialog-head [data-close]{flex-shrink:0;padding:4px 8px}
dialog:has([data-preview-person])>.meta{font-size:11px;line-height:1.4;margin:8px 0 12px}
@media(max-width:360px){dialog:has([data-preview-person]) .dialog-head h2{font-size:15px}}

.payroll-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.payroll-heading h1{font-size:19px;line-height:1.2;margin:0;min-width:0}
.payroll-heading button,.payroll-section-back button{font-size:11px;padding:7px 9px;white-space:nowrap;border-radius:8px}
.payroll-section-back{display:flex;justify-content:flex-end;margin-bottom:8px}
.payroll-caption{font-size:11px;line-height:1.35;margin:4px 0 12px}
.payroll-totals{margin-top:24px;padding-top:16px;border-top:1px solid #dde4eb}
.payroll-totals h2{font-size:15px}
@media(max-width:400px){.payroll-heading h1{font-size:16px}.payroll-heading{gap:6px}.payroll-heading button{font-size:10px;padding:6px}}

.team-compact-heading{margin-bottom:14px}
.team-compact-heading h1{font-size:20px;line-height:1.2;margin:0 0 10px}
.team-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.team-quick-actions button{min-width:0;padding:9px 6px;border-radius:9px;font-size:12px;line-height:1.2;white-space:nowrap}
@media(max-width:360px){.team-quick-actions{gap:6px}.team-quick-actions button{font-size:10px}.team-compact-heading h1{font-size:18px}}

/* Dense planning controls and readable stage columns on phones. */
@media screen{
.matrix-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.matrix-heading h1,.planning-title{font-size:19px;line-height:1.2;margin:0}
.matrix-actions{display:flex;justify-content:flex-end;gap:6px;margin-left:auto}
.matrix-actions button{font-size:11px;padding:6px 8px;border-radius:8px;white-space:nowrap}
.planning-compact .board-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}
.planning-compact .board-mode button{font-size:11px;line-height:1.3;padding:8px 6px;white-space:normal}
.planning-compact .toolbar,.matrix-heading+.toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
#matrix-query,#matrix-stage{min-width:0;width:auto;flex:1 1 120px;font-size:12px;padding:7px}
.matrix-check{font-size:11px;gap:5px}
.matrix-legend{font-size:10px;gap:6px 10px;margin:6px 0 10px}
.compact-matrix{width:max-content;min-width:0}
.compact-matrix th,.compact-matrix td{width:152px;min-width:152px;max-width:152px}
.compact-matrix th:first-child{width:100px;min-width:100px;max-width:100px;padding:6px}
.compact-matrix tbody th button{font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;padding:0}
.compact-matrix thead th{font-size:12px;padding:9px 6px}
.compact-matrix .stage-cell{padding:8px;min-height:68px}
.compact-matrix .stage-cell strong{font-size:12px}
.compact-matrix .stage-cell span,.compact-matrix .stage-cell small{font-size:11px}
@media(max-width:700px){.matrix-heading h1{font-size:17px}.matrix-heading{gap:6px}.matrix-actions{width:100%}.planning-compact .board-panel{padding:0}.compact-scroll{max-height:65vh}}
@media(orientation:landscape) and (max-height:600px){.planning-compact .matrix-heading{flex-wrap:nowrap}.planning-compact .matrix-actions{width:auto}.planning-compact .board-mode{margin:5px 0}.planning-compact .compact-scroll,.objects-table-view .compact-scroll{max-height:calc(100dvh - 190px)}.compact-matrix th,.compact-matrix td{width:160px;min-width:160px;max-width:160px}.compact-matrix th:first-child{width:105px;min-width:105px;max-width:105px}.compact-matrix .stage-cell{min-height:52px;padding:6px}.matrix-legend{margin:4px 0}.compact-matrix thead th{padding:6px}}
}
@media print{.matrix-actions{display:none}}

@media screen{
.objects-table-title{font-size:18px;line-height:1.2;margin:0 0 8px}
.objects-view-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 6px}
.objects-view-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:34px;min-height:34px;padding:6px 8px;border-radius:8px;font-size:12px;line-height:1.2}
.objects-view-actions .objects-table-switch span{font-size:16px}
.objects-table-secondary{display:flex;justify-content:space-between;gap:8px;margin:0 0 6px}
.objects-table-secondary button{font-size:11px;padding:4px 8px;min-height:26px;border-radius:7px}
.objects-table-view>.toolbar{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0}
.objects-table-view>.toolbar input,.objects-table-view>.toolbar select{margin:0;padding:6px;font-size:11px;min-height:30px}
.objects-table-view .matrix-legend{margin:5px 0;gap:4px 8px}
.objects-table-view .board-panel{padding:0;margin-top:5px}
.compact-matrix{width:var(--matrix-width)!important;min-width:var(--matrix-width)!important;table-layout:fixed}
.compact-matrix th,.compact-matrix td{width:160px;min-width:0;max-width:160px;box-sizing:border-box}
.compact-matrix th:first-child{width:88px;min-width:0;max-width:88px;padding:5px;box-sizing:border-box}
.compact-matrix tbody th button{font-size:10px;line-height:1.2;overflow-wrap:anywhere;white-space:normal}
.compact-matrix tbody th small{font-size:9px;margin-top:3px}
.compact-matrix thead th{padding:6px 4px;font-size:11px}
.compact-matrix .stage-cell{min-height:42px;padding:5px 6px}
.compact-matrix .stage-cell strong{font-size:11px;line-height:1.2}
.compact-matrix .stage-cell span,.compact-matrix .stage-cell small,.compact-matrix .stage-cell em{font-size:10px;margin-top:3px;line-height:1.2}
}
@media print{.objects-table-secondary{display:none}.compact-matrix col{width:auto!important}}
@media screen{
.objects-view-actions>button{box-sizing:border-box;margin:0!important;align-self:stretch;min-width:0;max-width:none;font-weight:600;background:var(--nav);border:1px solid var(--nav);color:#fff}
.objects-table-secondary>span{font-size:11px;line-height:26px}
.objects-cards-view .objects-toolbar{margin:4px 0 8px;gap:6px}
.objects-cards-view .objects-toolbar input,.objects-cards-view .objects-toolbar select{min-height:30px;padding:6px;font-size:11px}
}
@media screen{
.compact-matrix th,.compact-matrix td{width:88px;min-width:0;max-width:88px}
.compact-matrix thead th{font-size:10px;line-height:1.2;overflow-wrap:anywhere;padding:5px 3px}
.compact-matrix .stage-cell{padding:4px;min-height:36px}
.compact-matrix .stage-cell strong{font-size:10px}
.compact-matrix .stage-cell span,.compact-matrix .stage-cell small,.compact-matrix .stage-cell em{font-size:9px;margin-top:2px}
.compact-matrix tbody th .matrix-info{display:block;font-size:9px;font-weight:400;line-height:1.2;min-height:20px;margin-top:3px;padding:2px;background:#edf2f8;border:0;border-radius:4px}
}

/* The identity header belongs to the desktop only, for every role. */
.director-shell.is-section>.director-header{display:none}
.director-shell.is-section>.main{padding-top:14px}
.object-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.object-card-heading>button{font-size:11px;padding:6px 8px;min-height:30px;flex-shrink:0}
.object-card-heading h1{font-size:20px;line-height:1.2;margin:0;text-align:right;overflow-wrap:anywhere}
.object-passport .object-address{font-size:11px;line-height:1.35}
.object-passport .object-address button{font-size:10px;min-height:26px;padding:4px 6px}
.object-passport>.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.object-passport>.split>*{font-size:11px;min-height:32px;padding:6px;text-align:center;line-height:1.2;display:flex;align-items:center;justify-content:center}
.object-status-detail{font-size:11px;margin:8px 0 14px}.object-status-detail p{margin:6px 0}
.object-delete-footer{margin:24px 0;display:grid;gap:6px}.object-delete-footer button{justify-self:start;font-size:12px}.object-delete-footer small{font-size:11px;color:#667182}

.object-passport{padding:12px;margin:8px 0 12px;border-radius:13px}
.object-passport .object-address{padding-bottom:10px;border-bottom:1px solid #edf0f2;font-size:12px;line-height:1.4}
.passport-data{display:grid;margin:3px 0 10px}
.passport-data-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:32px;font-size:11px;border-bottom:1px solid #f0f2f4}
.passport-data-row>span{color:#71808c;white-space:nowrap}
.passport-data-row>b{font-size:11px;font-weight:600;text-align:right}
.passport-data-row .passport-empty{color:#87939c;font-weight:400}
.passport-data-row button{min-height:24px;padding:3px 6px;font-size:10px;line-height:1.2;max-width:58%;overflow-wrap:anywhere}
.object-passport .passport-edit{width:100%;min-height:30px;font-size:11px;padding:6px 10px;white-space:nowrap;background:#f4f7f9}
.object-camera-panel h2{font-size:18px}.object-camera-panel p{font-size:12px}.object-camera-panel>button{font-size:12px;margin-top:10px}

/* Consistent centered content for every object section tile. */
.launcher-tile.object-section-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}
.launcher-tile.object-section-tile>.object-section-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin:0 auto}
.launcher-tile.object-section-tile>.object-section-icon svg{display:block;margin:auto}
.launcher-tile.object-section-tile>strong,.launcher-tile.object-section-tile>small{display:block;width:100%;text-align:center;margin:0;overflow-wrap:anywhere}
.launcher-tile.object-section-tile{display:grid;grid-template-rows:32px 32px 24px;align-content:center;justify-items:center;gap:5px}
.launcher-tile.object-section-tile>.object-section-icon{grid-row:1;width:32px;height:32px}
.launcher-tile.object-section-tile>strong{grid-row:2;align-self:center;line-height:1.2}
.launcher-tile.object-section-tile>small{grid-row:3;align-self:center;line-height:1.2}

/* Soft colour navigation: colours identify sections, not work status. */
.launcher-tile.object-section-tile[data-objtab]{
 --tile-tint:#eef3fa;--tile-ink:#45658b;
 height:auto;min-height:100px;aspect-ratio:1;padding:8px 5px;
 grid-template-rows:32px 28px 14px;gap:3px;box-sizing:border-box;
 border:1px solid #fff;border-radius:19px;
 background:linear-gradient(145deg,#fff 0%,var(--tile-tint) 100%);
 box-shadow:0 3px 10px #253f5910,inset 0 0 0 1px #dce5ed65;
 color:#26394b;transition:transform .16s ease,box-shadow .16s ease;
}
.launcher-tile.object-section-tile[data-objtab]>.object-section-icon{
 width:32px;height:32px;border-radius:11px;background:var(--tile-tint);color:var(--tile-ink);
 box-shadow:0 2px 3px #26394b0d,inset 0 1px 0 #ffffffb3;
}
.launcher-tile.object-section-tile[data-objtab]>.object-section-icon svg{width:22px;height:22px}
.launcher-tile.object-section-tile[data-objtab]>strong{font-size:11px;font-weight:650;line-height:1.2}
.launcher-tile.object-section-tile[data-objtab]>small{font-size:9px;color:#596c7c}
.launcher-tile.object-section-tile[data-objtab="cameras"]{--tile-tint:#e6f3f0;--tile-ink:#35766a}
.launcher-tile.object-section-tile[data-objtab="stages"]{--tile-tint:#e8eefb;--tile-ink:#526ca6}
.launcher-tile.object-section-tile[data-objtab="current"]{--tile-tint:#fff0d8;--tile-ink:#996922}
.launcher-tile.object-section-tile[data-objtab="chat-menu"]{--tile-tint:#eee8fa;--tile-ink:#7961a2}
.launcher-tile.object-section-tile[data-objtab="media"]{--tile-tint:#e4f2fa;--tile-ink:#367c9e}
.launcher-tile.object-section-tile[data-objtab="design"]{--tile-tint:#f7eae3;--tile-ink:#9b6b50}
.launcher-tile.object-section-tile[data-objtab="accounts"]{--tile-tint:#edf2df;--tile-ink:#71833b}
.launcher-tile.object-section-tile[data-objtab]:focus-visible{outline:3px solid #517ba9;outline-offset:3px}
.launcher-tile.object-section-tile[data-objtab]:active{transform:scale(.97)}
@media(hover:hover){.launcher-tile.object-section-tile[data-objtab]:hover{transform:translateY(-2px);box-shadow:0 6px 16px #253f591b}}
@media(prefers-reduced-motion:reduce){.launcher-tile.object-section-tile[data-objtab]{transition:none}}

/* Consistent, centered object albums. */
.gallery-object-grid{align-items:stretch;gap:10px}
.gallery-object-tile{display:grid;grid-template-rows:auto minmax(30px,auto) 16px;align-content:start;justify-items:center;gap:5px;padding:0 0 10px;text-align:center;border:1px solid #e2e8ef;border-radius:16px;background:#fff;box-shadow:0 3px 9px #253f590b;min-width:0}
.gallery-object-tile img,.gallery-object-tile .gallery-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;aspect-ratio:1;object-fit:cover;object-position:center;margin:0;border-radius:15px 15px 0 0;box-sizing:border-box}
.gallery-object-tile .gallery-placeholder{background:linear-gradient(145deg,#edf4f8,#e5edf5);gap:5px;font-size:26px;color:#587b96}
.gallery-object-tile .gallery-placeholder small{font-size:9px;line-height:1.2}
.gallery-object-tile>strong{display:flex;align-items:center;justify-content:center;align-self:stretch;width:100%;margin:0;padding:0 5px;box-sizing:border-box;font-size:12px;line-height:1.25;overflow-wrap:anywhere;text-align:center}
.gallery-object-tile>small{margin:0;font-size:10px;line-height:16px;color:#687d90;text-align:center}
.gallery-page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.gallery-page-heading h1{font-size:18px;line-height:1.2;margin:0}.gallery-page-heading p{font-size:11px;margin:5px 0 0}
.media-folder-tile[data-master-photo-object]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px}
.media-folder-tile[data-master-photo-object]>*{margin-left:auto;margin-right:auto;text-align:center}
@media(max-width:700px){.gallery-object-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gallery-object-tile>strong{font-size:11px}}
.media-folder-tile[data-media-folder],.media-folder-tile[data-master-photo-object]{display:grid;grid-template-rows:32px minmax(28px,auto) 24px;align-content:center;justify-items:center;gap:4px;min-height:110px;height:auto;padding:8px 5px;box-sizing:border-box;border-radius:16px;background:linear-gradient(145deg,#fff,#f0f5fa)}
.media-folder-tile[data-media-folder]>.media-folder-icon,.media-folder-tile[data-master-photo-object]>.media-folder-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px;box-sizing:border-box;margin:0}
.media-folder-tile[data-media-folder]>strong,.media-folder-tile[data-master-photo-object]>strong{align-self:center;margin:0;line-height:1.2;text-align:center}
.media-folder-tile[data-media-folder]>small,.media-folder-tile[data-master-photo-object]>small{align-self:center;margin:0;line-height:1.2;text-align:center}
.media-folder-tile[data-media-folder][hidden]{display:none}
.gallery-placeholder svg{display:block;width:28px;height:28px;flex-shrink:0;margin:0 auto}

.gallery-album-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px}
.gallery-album-heading>button{flex-shrink:0;font-size:10px;padding:6px 8px;min-height:28px;border-radius:8px;margin:0}
.gallery-album-heading>h1{font-size:18px;line-height:1.2;text-align:right;margin:0;overflow-wrap:anywhere;min-width:0}
.gallery-album-actions{display:flex;justify-content:flex-start;margin:0 0 10px}
.gallery-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;box-sizing:border-box;border:1px solid #dbe4ed;border-radius:9px;background:#edf3f8;color:#365673;font-size:11px;line-height:1.2;cursor:pointer;overflow:hidden}
.gallery-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}
.gallery-upload:focus-within{outline:2px solid #517ba9;outline-offset:2px}
.gallery-album-actions~.file-grid{margin-top:0}
.project-files-title{font-size:18px;margin:8px 0}.project-files-actions{display:flex;gap:8px;margin:10px 0}.project-files-actions button{font-size:12px;padding:7px 10px}.project-file-list article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;padding:12px;margin:8px 0;border:1px solid #e1e7ef;border-radius:12px;background:#fff}.project-file-list article>span{font-size:10px;color:#537795;background:#edf3f8;padding:8px 3px;border-radius:6px;align-self:start;text-align:center}.project-file-list strong{font-size:12px;overflow-wrap:anywhere}.project-file-list small{display:block;font-size:10px;color:#6b7c8e;margin-top:5px}.project-file-list a{font-size:11px;justify-self:center}
