/* Staff workspace: consistent surfaces, navigation and controls. */
.workspace,.login-page,.preview-home,.link-entry{--ink:#242624;--muted:#717670;--rule:#e5e7e3;--orange:#b64b1a;--orange-soft:#faf0e9;color:var(--ink)}
.workspace{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100svh;background:#f7f8f6;font-size:15px;line-height:1.6}
.workspace .sidebar{display:flex;flex-direction:column;position:sticky;top:0;align-self:start;height:100svh;padding:34px 20px 22px;background:#fff;border-right:1px solid var(--rule);gap:0}.workspace .brand{display:block;margin:0 12px 54px}.workspace .sidebar .logo{width:124px;height:auto}.workspace .sidebar-label{font-size:10px;letter-spacing:1.6px;color:#92988e;padding:0 12px;margin-bottom:12px}.workspace .sidebar nav{display:grid;gap:5px}.workspace .nav-link{display:flex;gap:12px;align-items:center;min-height:46px;padding:10px 12px;margin:0;border:0;border-radius:7px;color:#6d736a;font-size:14px;font-weight:500;line-height:1.5}.workspace .nav-link.active{background:#f9eee6;color:#9a401a}.workspace .nav-link:hover{background:#f4f5f2}.workspace .nav-symbol{display:block;font-size:18px;width:20px;text-align:center;color:inherit}.workspace .sidebar-bottom{display:flex;gap:10px;align-items:center;margin-top:auto;padding:20px 2px 12px;border-top:1px solid var(--rule)}.workspace .avatar{width:34px;height:34px;border-radius:50%;background:#eaf0e5;color:#52634d;font-size:11px;display:grid;place-items:center;flex-shrink:0}.workspace .sidebar-bottom strong{font-size:14px;font-weight:600;display:block}.workspace .sidebar-bottom small{font-size:11px;display:block;color:var(--muted)}.workspace .sign-out{background:none;border:0;color:#73796e;text-align:left;font:inherit;font-size:14px;padding:10px 0 0 46px;cursor:pointer;min-height:36px}
.workspace>.main{width:100%;max-width:1420px;min-width:0;padding:48px clamp(24px,4vw,64px) 64px;margin:0 auto}.workspace .page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 32px}.workspace .page-heading h1{font-size:32px;font-weight:600;letter-spacing:-1.2px;line-height:1.25;margin:8px 0 10px}.workspace .page-heading p{font-size:14px;margin:0;color:var(--muted)}.workspace .page-heading .eyebrow{font-size:10px;letter-spacing:1.6px}.workspace .back-link{display:inline-flex;align-items:center;font-size:14px;margin-bottom:24px;color:#777d72;min-height:28px}.workspace .client-heading{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:24px}.workspace .client-heading>div{width:auto;grid-row:auto}.workspace .client-heading>div:first-child{flex:1 1 280px}.workspace .client-heading h1{margin:10px 0}.workspace .client-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.workspace .inline-badges{gap:8px}
.workspace .button,.login-page .button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 17px;border-radius:7px;font-size:14px;font-weight:600;line-height:1.5;white-space:normal;box-shadow:none;border:1px solid #a84920;background:#b64b1a;color:#fff;transition:background .15s,border-color .15s}.workspace .button:hover,.login-page .button:hover{background:#9e3e15}.workspace .button.secondary{border:1px solid #dce0d7;background:#fff;color:#535b4d}.workspace .button.secondary:hover{background:#f1f4ed;border-color:#b9c1b1}.workspace .text-link,.workspace .text-button{color:#99502d;font-size:14px;font-weight:500}.workspace a,.workspace button{transition:background-color .15s,color .15s}.workspace :focus-visible,.login-page :focus-visible,.preview-home :focus-visible{outline:3px solid #cf8f6570;outline-offset:3px}
.workspace .tabs{display:flex;gap:24px;flex-wrap:wrap;overflow:visible;border-bottom:1px solid var(--rule);margin:0 0 28px;padding:0;background:none}.workspace .tabs a{display:block;padding:12px 0 14px;font-size:14px;font-weight:500;color:#777d72;border-bottom:2px solid transparent;min-height:46px;margin-bottom:-1px;background:none;border-radius:0}.workspace .tabs a.active{border-bottom-color:#b64b1a;color:#8d3c19}.workspace .tabs a:hover{color:#242624}
.workspace .panel{border:1px solid var(--rule);border-radius:10px;background:#fff;box-shadow:none;margin-bottom:24px;overflow:visible;min-width:0}.workspace .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #edf0e9;flex-wrap:wrap;min-width:0}.workspace .panel-heading h2{font-size:18px;font-weight:600;margin:0;letter-spacing:-.3px}.workspace .panel-heading>label{width:auto;max-width:100%;min-width:0}.workspace .panel-heading .search input{width:240px}.workspace .panel-body{padding:22px 24px}.workspace h3{font-weight:600;letter-spacing:-.2px}.workspace .badge{font-size:10px;font-weight:500;letter-spacing:.1px;border-radius:4px;padding:4px 8px;line-height:1.5}.workspace .badge.orange{color:#9d5129;background:#f8eee6}.workspace .badge.green{color:#42704b;background:#edf4e9}.workspace .muted{color:var(--muted)}.workspace .small{font-size:14px}
.workspace .delivery-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;background:#eff2eb;border:1px solid #e1e7da;border-radius:10px;padding:24px 28px;margin-bottom:24px;box-shadow:none}.workspace .delivery-banner .eyebrow{color:#6b7c5f;font-size:10px;letter-spacing:1.5px;margin:0 0 7px}.workspace .delivery-banner h2{font-size:23px;font-weight:600;line-height:1.3;letter-spacing:-.7px;margin:0 0 7px}.workspace .delivery-banner p:not(.eyebrow){color:#6a7561;font-size:14px;margin:0;line-height:1.6}.workspace .delivery-banner .button{background:#536448;border-color:#536448}.workspace .delivery-banner .button:hover{background:#3f5035}
.workspace .overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:24px;align-items:stretch;margin-bottom:24px}.workspace .overview-grid>.panel{margin-bottom:0}.workspace .overview-tasks .task-row{padding:16px 0;gap:12px}.workspace .task-label{font-size:14px;line-height:1.6}.workspace .task-label small{font-size:11px;margin-top:4px}.workspace .task-row>.badge{margin-left:28px}.workspace .task-edit{margin-left:28px}.workspace .add-task{margin-top:18px;padding-top:14px;border-top:1px solid var(--rule)}.workspace .client-summary dl{margin:0;display:grid;gap:16px}.workspace .client-summary dl>div{display:flex;justify-content:space-between;gap:24px;font-size:14px}.workspace .client-summary dt{color:var(--muted);flex-shrink:0}.workspace .client-summary dd{text-align:right;margin:0;overflow-wrap:anywhere}.workspace .summary-progress{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--rule);margin-top:24px;padding-top:20px;font-size:11px;color:var(--muted)}.workspace progress{height:5px;border:0;border-radius:5px;accent-color:#81906e}.workspace .summary-progress progress{width:100%}.workspace progress::-webkit-progress-bar{background:#edf0e8;border-radius:5px}.workspace progress::-webkit-progress-value{background:#81906e;border-radius:5px}
.workspace details.panel>summary{cursor:pointer;border:0;padding:22px 24px;list-style:none}.workspace details.panel>summary>span{font-size:14px;color:var(--muted);margin-left:auto}.workspace details.panel>summary:after{content:'+';font-weight:400;color:#7a8370;margin-left:8px}.workspace details.panel[open]>summary:after{content:'−'}.workspace details.panel[open]>summary{border-bottom:1px solid var(--rule)}.workspace .stages-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.workspace .stage-card{padding:20px;border:1px solid #e8ece3;border-radius:7px;background:#fff}.workspace .stage-card h3{font-size:14px}.workspace .stage-card .small{font-size:14px}.workspace .save-state{font-size:10px;color:#8a9182;margin-top:30px}.workspace .form-callout{background:#f9f6ee;border:1px solid #eae3cf;border-radius:7px;padding:20px;font-size:14px;line-height:1.7}.workspace .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.workspace .stage-form{gap:20px}.workspace label{font-size:14px;line-height:1.5}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{font-family:inherit;font-size:14px;min-height:44px;padding:11px 13px;border:1px solid #dce2d6;background:#fff;border-radius:6px;line-height:1.5;box-shadow:none}.workspace input:focus,.workspace textarea:focus,.workspace select:focus{border-color:#9fba8c}.workspace .stage-form label{font-size:14px;gap:8px}.workspace .check-item{gap:20px}.workspace .check-item select{min-width:150px}
.workspace .client-empty{text-align:center;padding:64px 28px;background:#fff;border:1px solid var(--rule);border-radius:10px;max-width:none}.workspace .client-empty .empty-symbol{display:grid;place-items:center;width:54px;height:54px;background:#eff2eb;border:0;border-radius:12px;font-size:26px;color:#718062;margin:0 auto 24px}.workspace .client-empty h2{font-size:23px;font-weight:500;letter-spacing:-.7px;margin:0 0 12px}.workspace .client-empty p{font-size:14px;max-width:420px;margin:0 auto 26px;color:var(--muted);line-height:1.8}.workspace .workspace-help{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 2px}.workspace .workspace-help h2{font-size:14px;font-weight:600;margin:0 0 6px}.workspace .workspace-help p{font-size:14px;margin:0}.workspace .workspace-help a{white-space:nowrap}.workspace table{min-width:0;width:100%}.workspace th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#919889;font-weight:500;padding:15px 24px;background:#fcfdfb}.workspace td{padding:22px 24px;font-size:14px}.workspace .company-mark{width:38px;height:38px;border-radius:8px;background:#eef1e9;color:#667458;font-size:15px}.workspace .client-name{font-size:14px;font-weight:600}.workspace .client-name small{font-size:11px;color:#92988c;font-weight:400}
.login-page{min-height:100svh;padding:42px 32px;background:#f7f8f5;display:flex;flex-direction:column;align-items:center}.login-brand{align-self:flex-start}.login-brand .logo{width:140px}.login-card{width:100%;max-width:420px;margin:auto;padding:64px 0}.login-card .eyebrow{font-size:10px;letter-spacing:1.8px;color:#9b643f;margin:0 0 18px}.login-card h1{font-size:38px;line-height:1.2;font-weight:500;letter-spacing:-1.5px;margin:0 0 14px}.login-intro{font-size:14px;color:var(--muted);line-height:1.7;margin:0 0 34px}.login-card form{display:grid;gap:10px}.login-card label{font-size:14px;font-weight:500;color:#555e4e}.login-card input{width:100%;height:50px;font:inherit;font-size:16px;padding:12px 15px;border:1px solid #d8dfd1;border-radius:7px;background:#fff;color:#252923}.login-card input[type=email]{margin-bottom:12px}.password-field{position:relative}.password-field input{padding-right:70px}.password-field button{position:absolute;right:5px;top:4px;height:42px;padding:0 12px;background:none;border:0;font:inherit;font-size:14px;color:#737e68;cursor:pointer}.login-card .button{width:100%;margin-top:16px;justify-content:space-between;min-height:50px;font-size:14px}.login-card .button:disabled{opacity:.65;cursor:wait}.login-help{font-size:11px;line-height:1.8;color:#8b9283;margin:24px 0 0}.login-error{color:#a43825;background:#fcf0ed;font-size:14px;padding:12px;border-radius:6px;line-height:1.6;margin:8px 0 0}.login-footer{font-size:10px;color:#9aa18f;letter-spacing:.4px;margin:0}
.preview-home{max-width:1000px;padding:38px 36px 60px;margin:auto}.preview-home header{display:flex;align-items:center;justify-content:space-between;margin-bottom:70px}.preview-home .logo{width:140px}.preview-home .eyebrow,.link-entry .eyebrow{color:#9b643f;font-size:10px;letter-spacing:1.6px}.preview-home h1{font-size:36px;font-weight:500;letter-spacing:-1.2px;line-height:1.25;margin:12px 0 18px}.preview-home>p.muted{font-size:15px;line-height:1.8;max-width:580px}.preview-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:38px 0}.preview-choice{display:block;border:1px solid #e1e5db;border-radius:12px;padding:30px;background:#fff;color:inherit;transition:background .15s}.preview-choice:hover{background:#f4f7ef}.preview-choice h2{font-size:20px;margin:24px 0 12px;font-weight:500;letter-spacing:-.5px}.preview-choice p{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 30px}.preview-number{font-size:14px;color:#9f5b35}.preview-home>.text-link,.preview-choice .text-link{font-size:14px;color:#9b512b}.link-entry{max-width:560px;margin:0 auto;padding:80px 28px}.link-entry>.logo{width:150px;margin-bottom:72px}.link-entry h1{font-size:32px;line-height:1.3;font-weight:500;letter-spacing:-1px;margin:18px 0 24px}.link-entry>p:not(.eyebrow){font-size:15px;color:var(--muted);line-height:1.9;margin:14px 0}
@media(max-width:1200px){.workspace{grid-template-columns:190px minmax(0,1fr)}.workspace .sidebar{padding:30px 14px 20px}.workspace>.main{padding:36px 28px}.workspace .nav-link{font-size:14px;gap:9px}.workspace .overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr)}.workspace .tabs{gap:20px}.workspace .client-actions{width:100%}.workspace .client-summary dl>div{gap:12px}.workspace .panel-heading .search input{width:200px}}
@media(max-width:900px){.workspace{display:block}.workspace .sidebar{position:relative;height:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px;border-right:0;border-bottom:1px solid var(--rule)}.workspace .brand{margin:0}.workspace .sidebar .logo{width:110px}.workspace .sidebar-label,.workspace .sidebar-bottom{display:none}.workspace .sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.workspace .nav-link{font-size:14px;min-height:38px;padding:8px 10px}.workspace .nav-symbol{display:none}.workspace .sign-out{margin:0;padding:8px 4px;font-size:11px}.workspace>.main{padding:32px 24px}.workspace .client-heading>div:first-child{width:100%}.workspace .client-actions{width:auto}.workspace .overview-grid{grid-template-columns:minmax(0,1fr) minmax(210px,.8fr);gap:20px}.workspace .panel-body,.workspace .panel-heading{padding:20px}.workspace .tabs{gap:20px}.workspace .tabs a{font-size:14px}.workspace .delivery-banner{padding:24px}.workspace .stages-grid{grid-template-columns:1fr}}
@media(max-width:600px){.workspace .sidebar{padding:16px 20px;gap:14px}.workspace .sidebar .logo{width:100px}.workspace .sidebar nav{order:3;width:100%;justify-content:flex-start;gap:4px}.workspace .nav-link{font-size:14px;padding:9px 12px}.workspace>.main{padding:28px 20px 44px}.workspace .page-heading{margin-bottom:24px;gap:16px}.workspace .page-heading h1{font-size:28px;line-height:1.3;letter-spacing:-1px}.workspace .page-heading p{font-size:14px}.workspace .back-link{margin-bottom:18px}.workspace .client-heading{gap:18px}.workspace .client-actions{display:flex;width:100%;gap:8px}.workspace .client-actions .button{flex:1;font-size:11px;padding:10px;min-height:44px}.workspace .tabs{gap:0;justify-content:flex-start}.workspace .tabs a{padding:11px 12px;font-size:14px}.workspace .tabs a:first-child{padding-left:0}.workspace .delivery-banner{padding:22px}.workspace .delivery-banner h2{font-size:21px}.workspace .delivery-banner .button{width:auto;font-size:14px}.workspace .overview-grid{display:block;margin:0}.workspace .overview-grid>.panel,.workspace .panel{margin-bottom:20px}.workspace .panel-body,.workspace .panel-heading{padding:20px}.workspace .panel-heading h2{font-size:18px}.workspace .field-grid{grid-template-columns:1fr}.workspace .task-edit{margin-left:0}.workspace details.panel>summary{padding:20px;gap:12px}.workspace details.panel>summary h2{font-size:14px}.workspace details.panel>summary>span{font-size:10px}.workspace .client-summary dl>div{font-size:14px}.workspace .check-item{grid-template-columns:1fr}.workspace .check-item select{width:100%}.workspace .client-empty{padding:40px 22px}.workspace .client-empty h2{font-size:21px}.workspace .workspace-help{align-items:flex-start;flex-direction:column;gap:12px}.workspace .workspace-help p{line-height:1.7}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{font-size:16px}.workspace .panel-heading .search,.workspace .panel-heading .search input{width:100%}.workspace td{padding:8px 0}.workspace .kanban,.workspace .files-grid{grid-template-columns:1fr}.workspace .task-row>.task-label{flex-basis:180px}.login-page{padding:28px 24px}.login-brand .logo{width:120px}.login-card{padding:64px 0}.login-card h1{font-size:34px}.preview-home{padding:28px 22px}.preview-home header{margin-bottom:48px}.preview-home h1{font-size:29px}.preview-choices{grid-template-columns:1fr;gap:16px}.preview-choice{padding:24px}.link-entry{padding:48px 26px}.link-entry>.logo{margin-bottom:58px}.link-entry h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.workspace *,.preview-home *{transition:none!important;scroll-behavior:auto}}
