/* White, legible work surfaces above the supplied AOKA diffuse canvas.
 * Layout, column widths, action heights and download typography stay in the approved sheets. */
body{background:#fcfdff;background-image:none;isolation:isolate;}
#ambient-background{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 20% 25%,#deedff,transparent 55%),radial-gradient(ellipse at 80% 65%,#fff0dd,transparent 55%),#fcfdff;}
#app{position:relative;z-index:1;min-height:100vh;min-height:100dvh;}
.orb-login-shell,.orb-login-background{background:transparent;}
.orb-login-background{display:none;}
.orb-login-card.login{background:linear-gradient(145deg,rgba(255,255,255,.87),rgba(255,255,255,.72));border-color:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(12px) saturate(125%);backdrop-filter:blur(12px) saturate(125%);box-shadow:inset 1px 1px 1px #fff,inset -1px -1px 1px rgba(191,212,241,.35),0 24px 65px -30px rgba(54,88,137,.26),0 4px 16px rgba(52,78,117,.035);}
.orb-login-card.login>h1{text-align:center;}
.login-banner{position:relative;}
.login-banner>canvas,.login-banner>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;pointer-events:none;}
.login-banner>img[hidden]{display:none;}
.sidebar{background:linear-gradient(150deg,rgba(255,255,255,.72),rgba(243,249,255,.53));-webkit-backdrop-filter:blur(10px) saturate(120%);backdrop-filter:blur(10px) saturate(120%);}
.panel,.project-table-wrap,.order-desktop,.table-wrap{background:rgba(255,255,255,.88);}
.project-table,.order-desktop table{background:transparent;}
.project-table tbody tr,.order-desktop tbody tr{background:rgba(255,255,255,.28);}
.project-table tbody tr:hover,.order-desktop tbody tr:hover{background:rgba(241,248,255,.88);}
.personal-actions-row>td{background:rgba(255,255,255,.82);}
.record.action-card,.notification,.mobile-project,.mobile-order{background:rgba(255,255,255,.88);}
.action-card:has(.urgency-badge),.important-changes,.state-explanation{background:rgba(255,249,249,.97);}
.queue-tabs>button,.overview-card{background:linear-gradient(140deg,rgba(255,255,255,.91),rgba(243,249,255,.76));}
.queue-tabs>button.active,.overview-card.selected{background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(220,237,255,.82));}
#detail,#leave-confirm{background:linear-gradient(140deg,rgba(255,255,255,.95),rgba(246,251,255,.92));}
#detail .dialog-head{background:linear-gradient(120deg,rgba(255,255,255,.95),rgba(230,244,255,.88));}
#detail .detail-section{background:rgba(255,255,255,.91);}
#detail input:not([type=checkbox]):not([type=radio]),#detail textarea,#detail select{background-color:rgba(255,255,255,.97);}
/* Replace the icon itself: filled duotone glyphs, not the old line drawings. */
.nav .nav-duotone,.brand-mark .nav-duotone{width:22px;height:22px;flex:0 0 22px;stroke:none;fill:currentColor;filter:drop-shadow(0 1px 1px rgba(50,88,135,.07));}
.nav-duotone path{stroke:none;}
.nav-duotone path[opacity]{opacity:.24;}
.nav .icon-projects{color:#347aa4;}.nav .icon-new{color:#5583bd;}.nav .icon-orders{color:#7875ad;}.nav .icon-tasks,.nav .icon-action-center{color:#4d8c81;}.nav .icon-notifications{color:#b36e55;}.nav .icon-creative{color:#8b70a9;}.nav .icon-project-management{color:#6187a3;}.nav .icon-people{color:#70849f;}
.nav button.active .nav-duotone{color:#26639d;}
@media(hover:hover) and (pointer:fine){.nav button:hover .nav-duotone,.nav button.active:hover .nav-duotone,.top-actions button:hover .nav-duotone{color:#be6b30;}}
/* One control material for all workflow actions, including nested project dialogs.
 * Overview cards and inline text previews retain their approved geometry and treatment. */
:root{
 --control-glass:linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,248,255,.83));
 --control-ink:#3b5674;--control-border:rgba(170,196,225,.65);
 --control-sky:radial-gradient(ellipse at 24% 0,rgba(255,255,255,.72),transparent 72%),linear-gradient(120deg,#e2f4ff,#bee4ff 50%,#a8d6fb);
 --control-rim:inset 1px 1px 1px rgba(255,255,255,.97),inset -1px -1px 1px rgba(149,190,230,.2);
}
body :is(button,a.download-action,.drop>label):not(.project-link):not(.order-title-button):not(.staff-preview):not(.demand-preview):not(.identity-name-button):not(.overview-card):not(.queue-tabs>button):not(.intake-inline-copy){
 border-radius:999px!important;background:var(--action-glass,var(--control-glass))!important;color:var(--action-ink,var(--control-ink))!important;border-color:var(--action-edge,var(--control-border))!important;
 box-shadow:var(--control-rim),0 2px 6px rgba(41,77,124,.045)!important;
 transition:box-shadow .16s ease,border-color .16s ease,background-color .16s ease;
}
button.primary,button.action-accept,.drop>label,.orb-login-card .actions>button.primary,button.action-notice{
 --action-glass:var(--control-sky);--action-ink:#174b7c;--action-edge:#9dc9e9;
}
button.action-complete{--action-glass:linear-gradient(145deg,#f6fdfb,#dcefe9);--action-ink:#2b6656;--action-edge:#b4d9cb;}
button.assistance{--action-glass:linear-gradient(145deg,#fdfcff,#ebeaf8);--action-ink:#62567f;--action-edge:#cfcae5;}
button.pending-followup{--action-glass:linear-gradient(145deg,#fffdf7,#f9efd9);--action-ink:#7a5a26;--action-edge:#e1cea5;}
.pending-work-actions>button:first-child{--action-glass:var(--control-sky);--action-ink:#174b7c;--action-edge:#9dc9e9;}
button.danger{--action-glass:linear-gradient(145deg,#fffafa,#f8e2e8);--action-ink:#a03550;--action-edge:#e5b6c2;}
button[data-lifecycle=cancelled],#lifecycle-form[data-state=cancelled] button[type=submit]{--action-glass:linear-gradient(145deg,#fffafa,#f8e2e8);--action-ink:#a03550;--action-edge:#e5b6c2;}
button[data-lifecycle=paused],button[data-reschedule],#lifecycle-form[data-state=paused] button[type=submit]{--action-glass:linear-gradient(145deg,#fffdf7,#f9efd9);--action-ink:#7a5a26;--action-edge:#e1cea5;}
button[data-lifecycle=landed],#lifecycle-form[data-state=landed] button[type=submit]{--action-glass:linear-gradient(145deg,#f6fdfb,#dcefe9);--action-ink:#2b6656;--action-edge:#b4d9cb;}
.nav button{--action-glass:transparent;--action-edge:transparent;}
.nav button.active,.mobile-navigation>button.active{--action-glass:radial-gradient(ellipse at 24% 0,rgba(255,255,255,.9),transparent 72%),linear-gradient(115deg,rgba(202,234,255,.85),rgba(205,225,255,.72),rgba(228,228,255,.75));--action-ink:#20578b;--action-edge:rgba(150,184,223,.52);}
body .nav button{box-shadow:none!important;}
body .nav button.active{box-shadow:var(--control-rim),0 3px 9px rgba(61,106,168,.09)!important;}
.tabs button,.category-tabs button,.dialog-tabs button{--action-glass:transparent;--action-edge:transparent;}
.tabs button.active,.category-tabs button.active,.dialog-tabs button.active{--action-glass:linear-gradient(130deg,rgba(242,250,255,.98),rgba(218,237,255,.87));--action-ink:#205b90;--action-edge:transparent;}
.task-request-status{border-radius:999px;background:linear-gradient(145deg,#fff9fc,#f7eaf0);color:#8b4860;box-shadow:inset 0 0 0 1px #ecd7e1;}
.badge.status-token{border-radius:999px;}
body .personal-work-line .work-actions>:is(button,a.download-action){box-shadow:var(--control-rim)!important;}
body button:disabled,body a.download-action[aria-disabled=true]{box-shadow:none!important;}
body :is(button,a.download-action):focus-visible{outline:2px solid #3d80bc;outline-offset:-3px;}
body :is(.project-link,.order-title-button,.identity-name-button):focus-visible{outline-offset:2px;}
body :is(.demand-preview,.staff-preview):focus-visible{outline-offset:-2px;}
body .unread-badge,body .notification .unread-badge,body .nav button .unread-badge{
 position:relative;border:0;outline:0;color:#fff;background:linear-gradient(145deg,#c6435e,#b43251 72%,#ae344f);border-radius:999px;
 box-shadow:inset 0 1px 1px rgba(255,255,255,.17),inset 0 -1px 1px rgba(114,27,50,.15),0 2px 5px rgba(149,38,64,.16);
}
.unread-badge::before{content:'';position:absolute;pointer-events:none;left:24%;right:24%;top:1px;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);}
@media(hover:hover) and (pointer:fine){body :is(button,a.download-action):not(:disabled):hover{border-color:#88b5df!important;box-shadow:var(--control-rim),0 3px 10px rgba(41,77,124,.085)!important;}body .nav button:hover{box-shadow:var(--control-rim)!important;}}
@media(max-width:760px){.sidebar{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.84);}.nav .nav-duotone{width:20px;height:20px;flex-basis:20px;}.orb-login-card.login{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}}
@media(prefers-reduced-motion:reduce){body :is(button,a.download-action){transition:none!important;}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.sidebar,.panel,.project-table-wrap,.order-desktop,.table-wrap,.record.action-card,.notification,.mobile-project,.mobile-order,#detail,#leave-confirm,#detail .detail-section,.orb-login-card.login{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;}#ambient-background{display:none;}body :is(button,a.download-action){box-shadow:none!important;}}
@media(forced-colors:active){#ambient-background,.login-banner>canvas{display:none;}.sidebar,.panel,.project-table-wrap,.order-desktop,.table-wrap,.record.action-card,.notification,.mobile-project,.mobile-order,#detail,#leave-confirm,#detail .detail-section,.orb-login-card.login{background:Canvas;color:CanvasText;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;}body :is(button,a.download-action,.drop>label):not(.project-link):not(.order-title-button):not(.staff-preview):not(.demand-preview):not(.identity-name-button):not(.overview-card):not(.queue-tabs>button){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;}body .unread-badge,body .nav button .unread-badge{background:Highlight;color:HighlightText;box-shadow:none;}.unread-badge::before{display:none;}.nav-duotone{filter:none;}}
/* Clear glass login: light passes through the whole form, text remains opaque. */
.orb-login-card.login{background:linear-gradient(145deg,rgba(255,255,255,.43),rgba(255,255,255,.24));border:1px solid rgba(255,255,255,.78);-webkit-backdrop-filter:blur(20px) saturate(145%);backdrop-filter:blur(20px) saturate(145%);box-shadow:inset 1px 1px 1px rgba(255,255,255,.95),inset -1px -1px 1px rgba(179,208,239,.26),0 20px 60px -32px rgba(41,75,126,.3);}
.orb-login-card.login input{background:rgba(255,255,255,.56);border-color:rgba(157,184,216,.65);color:#25466a;box-shadow:inset 0 1px 3px rgba(77,107,149,.035),0 1px 0 rgba(255,255,255,.65);}
/* Capsule padding must contain the full label and count at every tab size. */
.tabs,.category-tabs{align-items:center;gap:7px;overflow:visible;flex-wrap:wrap;padding-block:4px 10px;}
body .tabs>button,body .category-tabs>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:max-content;height:auto;min-height:36px;line-height:1.5;padding:8px 15px;gap:6px;white-space:nowrap;overflow:visible;border-bottom-width:1px;}
body .tabs>button>span,body .category-tabs>button>span{flex:0 0 auto;line-height:1.5;}
body .badge:not(.unread-badge){display:inline-flex;align-items:center;justify-content:center;min-height:25px;height:auto;padding:3px 10px;line-height:1.5;max-width:100%;white-space:normal;overflow:visible;}
.control-count{font-size:.79em;font-weight:500;white-space:nowrap;opacity:.8;margin-left:5px;}
.desktop-navigation .nav-feedback{margin-top:auto;padding-top:22px;}
.nav .icon-feedback{color:#6887a7;}
.text-intake-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.text-intake-entry>div:first-child{flex:1 1 350px;}.text-intake-action{display:flex;gap:12px;align-items:center;}
.text-order-types label{display:inline-flex;align-items:center;gap:5px;margin:7px 20px 0 0;}
.text-brief,.feedback-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;}
.feedback-guide p{line-height:1.8;max-width:76em;margin-top:8px;}
.feedback-images{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0;}.feedback-images img{width:130px;height:100px;object-fit:contain;background:rgba(255,255,255,.7);border:1px solid #d4e0ee;border-radius:12px;}.feedback-images.large img{width:220px;height:160px;max-width:100%;}.feedback-images a{max-width:100%;}
.feedback-record{padding:18px;}.feedback-description{margin:12px 0;}
@media(max-width:760px){body .tabs>button,body .category-tabs>button{padding:8px 12px;font-size:12px;}.orb-login-card.login{-webkit-backdrop-filter:blur(14px) saturate(135%);backdrop-filter:blur(14px) saturate(135%);}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active){.orb-login-card.login{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;}}

/* Upload guidance and private ledger keep the approved work tables unchanged. */
.intake-code-help{margin-top:10px;text-align:left}.intake-code-help>strong{font-weight:600}.intake-code-help p{margin:8px 0}.intake-code-help code{white-space:nowrap;padding:2px 5px;border-radius:6px;background:#eaf4ff}.upload-format-example{overflow-wrap:anywhere}.ledger-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.ledger-tools .field{min-width:190px;flex:1}.ledger-source{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.ledger-table{min-width:840px}.ledger-table th{font-size:14px}.ledger-table td{font-size:14px;vertical-align:top}.ledger-table td:nth-child(2){min-width:180px;max-width:300px;white-space:normal;overflow-wrap:anywhere}.ledger-table td:first-child{min-width:155px;overflow-wrap:anywhere}

/* Private external-notice preferences retain the approved workspace layout. */
.notice-rule{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid rgba(145,174,210,.25);border-radius:20px;background:rgba(255,255,255,.46)}
.notice-rule__heading{display:flex;align-items:center;gap:10px}.notice-rule input[type=checkbox]{width:18px;height:18px;flex:none;margin:0;accent-color:#2389e7}
