/* The application shell is deliberately isolated from standalone print templates. */
@font-face{font-family:Cairo;font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cairo/cairo-400.ttf') format('truetype')}
@font-face{font-family:Cairo;font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/cairo/cairo-600.ttf') format('truetype')}
@font-face{font-family:Cairo;font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/cairo/cairo-700.ttf') format('truetype')}
@font-face{font-family:Cairo;font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/cairo/cairo-800.ttf') format('truetype')}
@font-face{font-family:Cairo;font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/cairo/cairo-900.ttf') format('truetype')}
.recent-panel{position:relative}
:root{--ink:#193d35;--ink-deep:#102d27;--accent:#dcf3a2;--canvas:#f5f6f2;--line:#e3e8e0;--muted:#758078;--radius:18px}
.workspace{background:var(--canvas);color:#233b32;font-size:14px;min-height:100vh;display:flex;flex-direction:column;margin:0}
.workspace a{color:var(--ink);text-decoration:none}.workspace button,.workspace input,.workspace select{font:inherit}
.shell-width{width:min(1360px,calc(100% - 80px));margin-inline:auto}.main-content{flex:1;padding-block:32px 54px;min-width:0}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.ui-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.skip-link{position:fixed;top:-80px;right:20px;background:var(--ink);color:white!important;padding:12px 20px;z-index:9999;border-radius:8px}.skip-link:focus{top:12px}
.workspace :focus-visible{outline:3px solid #729a39!important;outline-offset:4px}
.app-header{background:#fff;border-bottom:1px solid var(--line)}.header-top{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:26px;border-bottom:1px solid #edf0ea}
.brand-lockup{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:var(--ink);color:var(--accent);border-radius:14px}.brand-mark svg{width:27px;height:27px}.brand-lockup strong{display:block;font-size:21px;letter-spacing:-.6px}.brand-lockup small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.header-search{display:flex;align-items:center;gap:12px;max-width:380px;flex:1;background:#f6f7f3;border:1px solid #e9ece5;border-radius:12px;padding:8px 12px;color:#8b938b}.header-search input{background:none;border:0;outline:0;min-width:0;flex:1;color:var(--ink);font-size:12px;padding:4px}.header-search input::placeholder{color:#869086}.header-search button{background:white;border:1px solid var(--line);border-radius:7px;font-size:11px;color:var(--ink);padding:4px 10px}
.header-account{max-width:320px;min-width:0}.header-account .navbar-nav{display:flex;flex-direction:row;align-items:center;gap:16px;font-size:11px}.header-account .nav-item:first-child{min-width:0}.header-account .nav-item:first-child a{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-account .nav-link{color:#657167!important}.header-account .btn-link{font-size:11px;white-space:nowrap}
.header-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px}.nav-links{gap:4px;align-items:center}.app-nav-link{display:flex;align-items:center;gap:7px;padding:12px 13px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;transition:background .18s,color .18s}.app-nav-link .ui-icon{width:18px;height:18px}.app-nav-link:hover{background:#f1f5eb}.app-nav-link.is-active{background:#edf3e6;color:#33582b}.nav-create{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;padding:10px 16px;border:1px solid var(--line);border-radius:10px;white-space:nowrap}.nav-create:hover{background:var(--ink);color:white}.nav-create svg{width:18px}.mobile-menu{display:none}
@media(min-width:1120px){.nav-links.collapse{display:flex!important}}
.dashboard-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.eyebrow{font-size:11px;font-weight:700;color:#718071;letter-spacing:.3px;display:inline-flex;align-items:center;gap:8px}.live-dot{width:7px;height:7px;background:#638d40;border-radius:50%;box-shadow:0 0 0 4px #e7eddc}.today-label{font-size:11px;color:#7b857b}
.dashboard-hero{background:var(--ink-deep);border-radius:24px;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;min-height:366px;color:#fff;position:relative}.hero-copy{padding:40px 46px;z-index:1}.hero-kicker{font-size:11px;letter-spacing:.2px;color:#b3c6ad}.hero-copy h1{font-size:clamp(30px,3.5vw,48px);line-height:1.55;letter-spacing:-1.6px;font-weight:800;margin:12px 0 12px}.hero-copy h1 span{color:var(--accent)}.hero-copy p{font-size:13px;line-height:1.9;color:#bfcfc4;margin-bottom:24px}.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.action-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 19px;border-radius:11px;background:var(--accent);color:var(--ink-deep)!important;font-weight:800;font-size:13px;transition:transform .18s,background .18s}.action-primary:hover{background:#e8ffb5;transform:translateY(-2px)}.action-primary svg{width:18px;height:18px}.hero-secondary{color:#f1f5ef!important;font-size:12px}.hero-secondary span{margin-right:8px}.hero-types{display:flex;gap:22px;margin-top:25px;color:#97b2a2;font-size:10px}.hero-types span+span:before{content:'·';margin-left:22px;color:#5c7c68}
.hero-art{position:relative;display:grid;place-items:center;min-height:366px;overflow:hidden;background:radial-gradient(ellipse at center,#284e3d 0%,transparent 68%)}.paper-stack{position:absolute;width:220px;height:282px;border-radius:3px}.sheet-back{background:#b9d88f;transform:rotate(-18deg) translate(20px,0)}.sheet-middle{background:#e1e6d6;transform:rotate(12deg) translate(-12px,-2px)}.sheet-front{background:#fbfcf5;color:var(--ink);transform:rotate(-6deg);padding:22px;box-shadow:0 18px 40px #0003;display:flex;flex-direction:column;justify-content:space-between}.art-paper-head{display:flex;justify-content:space-between;align-items:center;direction:ltr}.art-paper-head span{font-size:8px;line-height:1.4;letter-spacing:1.3px}.art-word{font-weight:900;font-size:60px;line-height:1.1;letter-spacing:-2px;margin-top:8px}.ink-samples{display:flex;direction:ltr;padding-top:15px}.ink-samples i{width:28px;height:28px;border-radius:50%;margin-right:-5px;background:#183d34}.ink-samples i:nth-child(2){background:#dcf3a2}.ink-samples i:nth-child(3){background:#d6aa83}.ink-samples i:nth-child(4){background:#e2e8dc}.art-paper-foot{font-size:7px;border-top:1px solid #d9dfd4;padding-top:9px;margin-top:12px}.art-note{position:absolute;bottom:20px;font-size:9px;color:#9db5a3;letter-spacing:1px}.registration{position:absolute;width:24px;height:24px;color:#68856a}.registration:before,.registration:after{content:'';position:absolute;background:currentColor}.registration:before{width:24px;height:1px;top:12px}.registration:after{width:1px;height:24px;left:12px}.reg-one{top:35px;right:45px}.reg-two{bottom:45px;left:45px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}.metric-card{background:#fff;padding:21px 23px;border:1px solid var(--line);border-radius:var(--radius);transition:transform .18s,border-color .18s}.metric-card:hover{border-color:#a3ba8d;transform:translateY(-3px)}.metric-top,.metric-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.metric-top{font-size:12px;font-weight:600;color:#667166}.metric-top svg{color:#71905d;width:20px}.metric-card>strong{display:block;font-size:34px;letter-spacing:-1px;font-weight:800;margin:10px 0 3px;font-variant-numeric:tabular-nums}.metric-bottom{font-size:10px;color:#929a91}.metric-bottom svg{width:16px;height:16px;color:#59764d}
.section-heading,.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-heading{margin:34px 0 18px}.section-heading h2,.panel-heading h2,.operations-panel h2{font-size:20px;font-weight:800;letter-spacing:-.4px;margin:6px 0 0}.section-heading>a,.panel-heading>a{font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:9px}.section-heading>a svg,.panel-heading>a svg{width:16px;height:16px}
.workspace-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-card{display:block;padding:23px;background:white;border:1px solid var(--line);border-radius:var(--radius);position:relative;transition:transform .18s,border-color .18s}.workspace-card:hover{transform:translateY(-3px);border-color:#a5b797}.tile-icon{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:12px;background:#f0f4e9;color:#4b6a34}.workspace-card h3{font-size:15px;font-weight:800;margin:19px 0 8px}.workspace-card p{font-size:11px;color:#7b867b;line-height:1.8;margin:0}.card-arrow{position:absolute;top:34px;left:23px;width:18px;color:#899984}.workspace-card:nth-child(3n+2) .tile-icon{background:#f2eee6;color:#94724b}
.dashboard-bottom{display:grid;grid-template-columns:1.8fr 1fr;gap:22px;margin-top:28px}.recent-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}.panel-heading{padding:23px 25px}.workspace .recent-table{font-size:11px;min-width:490px;margin:0}.workspace .recent-table th{color:#869083;background:#fafbf8;font-size:10px;font-weight:600;border-top:1px solid #eff1eb;border-bottom:1px solid #eff1eb;padding:12px 24px;white-space:nowrap}.workspace .recent-table td{padding:15px 24px;border-bottom-color:#f0f2ec;vertical-align:middle}.recent-table td a strong{font-size:11px;display:inline-block}.recent-table td a small{display:block;color:#879183;font-size:10px;margin-top:5px}.recent-table td>b{white-space:nowrap;font-size:12px}.recent-table td>small{font-size:9px;color:#8b9486}.status-pill{display:inline-block;padding:5px 9px;border-radius:6px;background:#f0f2eb;color:#78836a;white-space:nowrap;font-size:9px}.status-approved,.status-invoiced{background:#eaf4e2;color:#4c732e}.status-sent{background:#e9f0f6;color:#567389}.status-cancelled{background:#f7ebe6;color:#a6614b}.row-open{width:27px;height:27px;display:grid;place-items:center;border-radius:7px;border:1px solid #e8eee1}.row-open svg{width:15px}.empty-work{text-align:center;padding:35px 20px 50px}.empty-work h3{font-size:16px;font-weight:700;margin:16px}.empty-work p{font-size:12px;color:var(--muted)}
.operations-panel{background:#eaf0df;padding:28px;border-radius:var(--radius);min-width:0}.operations-panel>p{font-size:12px;color:#7b866d;line-height:1.9;margin:14px 0 24px}.operations-panel>a{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #d9e2cb}.operations-panel>a>.tile-icon{background:#fff9;width:39px;height:39px}.operations-panel>a>span:nth-child(2){flex:1}.operations-panel>a b{font-size:13px}.operations-panel>a small{display:block;font-size:10px;margin-top:5px;color:#839076}.operations-panel>a>.ui-icon{width:17px}.operations-panel .settings-shortcut{border-bottom:0;font-size:11px;margin-top:10px;padding-bottom:0}
.page-heading{margin-bottom:30px}.page-heading h1{font-size:32px;font-weight:800;margin:10px 0}.page-heading p{color:var(--muted);font-size:13px}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-block:22px;font-size:10px;color:#879081}.app-footer>div{display:flex;gap:20px;align-items:center}.app-footer a{color:#6f7a67}.footer-dot{margin-inline:8px}
/* Cohesive treatment of existing forms without changing their structure or print views. */
.workspace .main-content .card{border-radius:16px;border-color:var(--line);box-shadow:0 3px 14px #233b3205!important}.workspace .btn-dark,.workspace .btn-primary{background:var(--ink);border-color:var(--ink);color:white}.workspace .btn{border-radius:9px;font-weight:600;font-size:12px;padding:9px 15px}.workspace .btn-sm{font-size:11px;padding:6px 10px}.workspace .btn-outline-dark{color:var(--ink);border-color:#b9c8b0}.workspace .btn-outline-dark:hover{background:var(--ink);color:white}.workspace .form-control,.workspace .form-select{border-color:#dfe6d9;border-radius:9px;min-height:40px;font-size:13px;background-color:#fcfdf9}.workspace .form-control:focus,.workspace .form-select:focus{border-color:#91ab70;box-shadow:0 0 0 3px #a4bf7630}.workspace .form-check-input:checked{background-color:#47653a;border-color:#47653a}.workspace .form-label{font-size:12px}.workspace .text-muted{color:#7e887b!important}.workspace .table{--bs-table-bg:transparent}.workspace .alert-success{background:#edf5e4;border-color:#d5e6c4;color:#4a633d}.workspace .quote-line{background:#fff;border-color:#e1e7db!important}
@media(max-width:1119px){.shell-width{width:calc(100% - 44px)}.mobile-menu{display:inline-flex;align-items:center;gap:8px}.header-nav{flex-wrap:wrap;padding-block:12px}.nav-links{order:3;flex-basis:100%;flex-wrap:wrap;padding-top:10px}.nav-links.show{display:flex}.header-account .nav-item:first-child a{max-width:160px}.hero-copy{padding:32px}.hero-copy h1{font-size:36px}.hero-actions{gap:15px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-bottom{grid-template-columns:1.4fr 1fr}.workspace .recent-table td,.workspace .recent-table th{padding-inline:16px}}
@media(max-width:767px){.shell-width{width:calc(100% - 32px)}.main-content{padding-top:22px}.header-top{min-height:80px;gap:15px;flex-wrap:wrap;padding-block:14px}.brand-lockup strong{font-size:18px}.brand-mark{width:40px;height:40px;border-radius:11px}.brand-lockup small{font-size:9px}.header-search{order:3;flex-basis:100%;max-width:none}.header-account .navbar-nav{gap:8px;flex-direction:column;align-items:flex-end}.header-account .nav-link{padding:0}.header-account .nav-item:first-child a{max-width:130px;font-size:10px}.header-nav{min-height:60px}.app-nav-link{flex:1 0 42%;font-size:12px}.nav-create{font-size:11px;padding:9px 12px}.dashboard-intro{align-items:flex-start}.today-label{font-size:9px;max-width:125px;text-align:left}.eyebrow{font-size:10px}.dashboard-hero{grid-template-columns:1fr;min-height:0;border-radius:18px}.hero-copy{padding:29px 25px}.hero-copy h1{font-size:33px;line-height:1.5}.hero-copy p{font-size:12px}.hero-art{min-height:280px}.paper-stack{width:170px;height:218px}.sheet-front{padding:16px}.art-word{font-size:45px}.art-paper-head span{font-size:6px}.ink-samples i{width:22px;height:22px}.art-paper-foot{font-size:6px}.art-note{bottom:12px}.hero-types{margin-top:22px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:15px}.metric-card{padding:16px}.metric-card>strong{font-size:29px}.metric-top{font-size:10px}.metric-bottom{font-size:9px}.metric-top svg{width:17px}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.workspace-card{padding:18px 15px}.workspace-card h3{font-size:13px}.workspace-card p{font-size:10px}.card-arrow{left:14px;top:29px;width:16px}.section-heading{margin-top:28px}.section-heading h2,.panel-heading h2,.operations-panel h2{font-size:18px}.section-heading>a{font-size:10px}.dashboard-bottom{grid-template-columns:1fr;gap:18px}.panel-heading{padding:20px}.operations-panel{padding:24px}.app-footer{flex-direction:column;align-items:flex-start;line-height:1.9}.page-heading h1{font-size:26px}}
@media(max-width:767px){.workspace .recent-table{min-width:0;width:100%}.workspace .recent-table th,.workspace .recent-table td{padding:12px 9px}.recent-table td a strong{font-size:9px}.recent-table td>b{font-size:10px}.recent-table th:last-child,.recent-table td:last-child{display:none}.recent-table .status-pill{font-size:8px;padding:5px 6px}}
@media(prefers-reduced-motion:reduce){.workspace *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
