:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f7fa}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;display:flex;flex-direction:column;padding:22px 16px;background:#142033;color:#fff}.brand{display:flex;gap:12px;align-items:center;padding:4px 8px 24px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#fff;color:#142033;font-size:12px;font-weight:800}.brand strong,.brand span{display:block}.brand strong{font-size:13px}.brand span{margin-top:3px;color:#b8c3d4;font-size:11px}.primary-nav{display:grid;gap:4px}.nav-link{padding:11px 12px;border-radius:8px;color:#c5cedc;font-size:14px;transition:background .12s ease,color .12s ease}.nav-link:hover,.nav-link.active{background:#26364e;color:#fff}.sidebar-footer{margin-top:auto;padding:18px 8px 0;color:#8997ab;font-size:11px}.content-shell{display:flex;min-width:0;flex:1;flex-direction:column}.topbar{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:16px;padding:14px 28px;border-bottom:1px solid #dfe4eb;background:#fff}.topbar-label{display:block;margin-bottom:3px;color:#778397;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.topbar strong{font-size:14px}.page-content{width:100%;max-width:1440px;margin:0 auto;padding:30px}.page-section{min-width:0}.page-heading{margin-bottom:26px}.page-heading h1{margin:4px 0 8px;font-size:clamp(26px,3vw,38px);line-height:1.1}.page-heading p{max-width:720px;margin:0;color:#657185;line-height:1.6}.eyebrow{color:#657185;font-size:11px;font-weight:700;letter-spacing:.12em}.button{border:0;border-radius:8px;padding:9px 14px;font-size:13px;font-weight:650}.button-secondary{border:1px solid #d5dbe4;background:#fff;color:#26364e}.button-secondary:hover{background:#f5f7fa}@media(max-width:900px){.app-shell{flex-direction:column}.sidebar{width:100%}.primary-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-footer{display:none}.page-content{padding:22px}}@media(max-width:560px){.primary-nav{grid-template-columns:1fr}.topbar{padding:12px 18px}.page-content{padding:18px}}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.page-header h1{margin:4px 0 8px;font-size:clamp(26px,3vw,38px);line-height:1.1}.page-eyebrow{margin:0;color:#657185;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.page-description{max-width:720px;margin:0;color:#657185;line-height:1.6}.button-primary{background:#142033;color:#fff}.button-primary:hover{background:#26364e}.button:disabled{cursor:not-allowed;opacity:.55}.client-filter-card,.client-form-card,.client-table-card,.client-state{border:1px solid #dfe4eb;border-radius:10px;background:#fff}.client-filter-card,.client-form-card{margin-bottom:20px;padding:18px}.client-filter-grid,.client-form-grid,.quotation-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.client-filter-grid label,.client-form-grid label,.client-form-full,.quotation-scope-grid label,.quotation-line-grid label{display:grid;gap:7px;color:#26364e;font-size:13px;font-weight:650}.client-filter-grid input,.client-filter-grid select,.client-form-grid input,.client-form-grid select,.client-form-full textarea,.quotation-scope-grid textarea,.quotation-line-grid input{width:100%;border:1px solid #d5dbe4;border-radius:8px;padding:10px 11px;background:#fff;color:#172033;font:inherit;font-weight:400}.client-filter-actions,.client-form-actions,.table-actions,.quotation-line-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.client-filter-actions,.client-form-actions{margin-top:16px}.client-form-heading,.quotation-lines-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.client-form-heading h2,.quotation-lines-heading h3{margin:0 0 6px}.client-form-heading p,.quotation-lines-heading p{margin:0;color:#657185;line-height:1.5}.client-form-full{grid-column:1 / -1;margin-top:16px}.client-state{margin-bottom:20px;padding:16px 18px;color:#657185}.client-state-error{border-color:#d5a8a8;color:#7a2f2f}.client-table-card{overflow:hidden}.client-table-scroll{width:100%;overflow-x:auto}.client-table{width:100%;border-collapse:collapse;font-size:13px}.client-table th,.client-table td{padding:13px 14px;border-bottom:1px solid #dfe4eb;text-align:left;vertical-align:top}.client-table th{background:#f5f7fa;color:#657185;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.client-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-top:1px solid #dfe4eb;color:#657185;font-size:13px}.client-pagination>div{display:flex;align-items:center;gap:10px}.quotation-scope-grid{margin-top:16px}.quotation-lines-heading{margin-top:24px}.quotation-lines{display:grid;gap:14px}.quotation-line-card{padding:16px;border:1px solid #dfe4eb;border-radius:10px;background:#f5f7fa}.quotation-line-card>strong{display:block;margin-bottom:12px;color:#657185;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.quotation-line-grid{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(100px,.7fr) minmax(120px,.8fr) minmax(120px,.8fr);gap:12px}.quotation-line-actions{margin-top:12px}@media(max-width:900px){.page-header,.client-form-heading,.quotation-lines-heading{flex-direction:column}.quotation-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.client-filter-grid,.client-form-grid,.quotation-scope-grid,.quotation-line-grid{grid-template-columns:1fr}.client-pagination{align-items:flex-start;flex-direction:column}}.auth-page{display:flex;min-height:100vh;min-height:100dvh;align-items:center;justify-content:center;padding:32px 20px;background:radial-gradient(circle at 15% 15%,rgba(69,100,145,.22),transparent 42%),linear-gradient(135deg,#101b2c,#1c304b 55%,#263d5b)}.auth-card{width:100%;max-width:440px;padding:42px;border:1px solid rgba(255,255,255,.65);border-radius:18px;background:#fff;box-shadow:0 24px 70px #050e1d47}.auth-card .eyebrow{margin:0 0 20px;color:#536b8c;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.auth-card h1{margin:0 0 10px;color:#142033;font-size:clamp(28px,4vw,36px);font-weight:750;line-height:1.2;letter-spacing:-.03em}.auth-description{margin:0 0 30px;color:#657185;font-size:14px;line-height:1.65}.auth-card form{display:grid;gap:20px}.auth-card form label{display:grid;gap:9px;color:#26364e;font-size:13px;font-weight:650}.auth-card form input{display:block;width:100%;min-height:46px;padding:11px 13px;border:1px solid #ccd5e2;border-radius:9px;outline:none;background:#fff;color:#172033;font:inherit;font-size:14px;font-weight:400;transition:border-color .15s ease,box-shadow .15s ease}.auth-card form input:hover{border-color:#9daec3}.auth-card form input:focus-visible{border-color:#365b89;box-shadow:0 0 0 3px #365b8926}.auth-card .primary-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;margin-top:4px;padding:12px 18px;border:0;border-radius:9px;background:#142033;color:#fff;font-size:14px;font-weight:700;transition:background .15s ease}.auth-card .primary-button:hover:not(:disabled){background:#263d5b}.auth-card .primary-button:focus-visible{outline:3px solid rgba(54,91,137,.4);outline-offset:3px}.auth-card .primary-button:disabled{cursor:not-allowed;opacity:.65}.auth-card .form-error{margin:0;padding:12px 14px;border:1px solid #e8b9b9;border-radius:8px;background:#fff4f4;color:#8c3030;font-size:13px;line-height:1.5}@media(max-width:480px){.auth-page{padding:20px 14px}.auth-card{padding:30px 24px;border-radius:14px}.auth-description{margin-bottom:24px}}@media(prefers-reduced-motion:reduce){.auth-card form input,.auth-card .primary-button{transition:none}}.auth-page.auth-workspace{--duggis-navy: #0f2d4a;--duggis-gold: #c9a96b;--duggis-ink: #1a2b3d;--duggis-muted: #64748b;--duggis-line: #d7dee9;position:relative;display:flex;align-items:stretch;justify-content:center;width:100%;min-height:100vh;min-height:100dvh;padding:0;overflow:hidden;background-color:#142c43;background-image:linear-gradient(105deg,#081b2de0,#0b2338b5 40%,#0d213354),url(/images/duggis-login-office-background.webp);background-position:center;background-repeat:no-repeat;background-size:cover;color:#fff;font-family:Segoe UI,Arial,sans-serif}.auth-workspace,.auth-workspace *{box-sizing:border-box}.auth-workspace .auth-workspace-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,450px);align-items:center;gap:clamp(32px,7vw,112px);width:min(100%,1320px);min-height:100vh;min-height:100dvh;margin:0 auto;padding:clamp(28px,5vw,72px)}.auth-workspace .auth-brand-panel{display:flex;flex-direction:column;justify-content:space-between;align-self:stretch;min-width:0;padding:clamp(12px,2vw,28px) 0;color:#fff}.auth-workspace .auth-brand-identity{display:flex;align-items:center;gap:15px}.auth-workspace .auth-brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:58px;height:58px;border:1px solid rgba(201,169,107,.75);border-radius:14px;background:#0f2d4aad;color:#f2d7a1;font-size:18px;font-weight:800;letter-spacing:.04em}.auth-workspace .auth-brand-name{display:flex;flex-direction:column;gap:3px;min-width:0;letter-spacing:.12em}.auth-workspace .auth-brand-name strong{color:#fff;font-size:19px;font-weight:800;letter-spacing:.15em}.auth-workspace .auth-brand-name span{color:#ffffffc7;font-size:10px;font-weight:600;letter-spacing:.18em}.auth-workspace .auth-brand-message{max-width:610px;margin:auto 0;padding:54px 0 38px}.auth-workspace .auth-brand-accent{display:block;width:58px;height:4px;margin-bottom:28px;border-radius:999px;background:var(--duggis-gold)}.auth-workspace .auth-brand-message h2{max-width:580px;margin:0;color:#fff;font-size:clamp(35px,4.2vw,60px);font-weight:750;line-height:1.12;letter-spacing:-.035em;text-wrap:balance}.auth-workspace .auth-brand-message p{max-width:475px;margin:23px 0 0;color:#ffffffd4;font-size:clamp(15px,1.35vw,17px);line-height:1.75}.auth-workspace .auth-workspace-main{display:flex;align-items:center;justify-content:center;min-width:0;width:100%}.auth-workspace .auth-card.auth-workspace-card{position:relative;width:100%;max-width:450px;margin:0;padding:clamp(30px,3.5vw,46px);overflow:hidden;border:1px solid rgba(215,222,233,.85);border-radius:20px;background:#fff;color:var(--duggis-ink);box-shadow:0 24px 75px #05142447}.auth-workspace .auth-card-accent{position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,var(--duggis-gold),#ead7ad)}.auth-workspace .auth-workspace-card h1{margin:0;color:var(--duggis-navy);font-size:clamp(29px,3vw,36px);font-weight:750;line-height:1.2;letter-spacing:-.035em}.auth-workspace .auth-workspace-card .auth-description{margin:13px 0 30px;color:var(--duggis-muted);font-size:14px;line-height:1.65}.auth-workspace .auth-workspace-card form{display:flex;flex-direction:column;gap:21px}.auth-workspace .auth-workspace-card form label{display:flex;flex-direction:column;gap:9px;color:var(--duggis-ink);font-size:13px;font-weight:650;line-height:1.45}.auth-workspace .auth-workspace-card form input{display:block;width:100%;min-width:0;height:49px;padding:0 14px;border:1px solid var(--duggis-line);border-radius:9px;outline:none;background:#fff;color:var(--duggis-ink);font:inherit;font-size:15px;font-weight:400;transition:border-color .16s ease,box-shadow .16s ease}.auth-workspace .auth-workspace-card form input:hover{border-color:#a9b8ca}.auth-workspace .auth-workspace-card form input:focus-visible{border-color:#52759a;box-shadow:0 0 0 3px #52759a29}.auth-workspace .auth-workspace-card .primary-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:5px;padding:12px 18px;border:1px solid var(--duggis-navy);border-radius:9px;background:var(--duggis-navy);color:#fff;font:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}.auth-workspace .auth-workspace-card .primary-button:hover:not(:disabled){background:#19466f;box-shadow:0 7px 18px #0f2d4a2b}.auth-workspace .auth-workspace-card .primary-button:focus-visible{outline:3px solid var(--duggis-gold);outline-offset:3px}.auth-workspace .auth-workspace-card .primary-button:disabled{opacity:.66;cursor:not-allowed}.auth-workspace .auth-workspace-card .form-error{margin:0;padding:11px 13px;border:1px solid #f3c4c4;border-radius:8px;background:#fff3f3;color:#a12626;font-size:13px;line-height:1.5}.auth-workspace .auth-security-note{margin:26px 0 0;padding-top:19px;border-top:1px solid #e8edf3;color:var(--duggis-muted);font-size:12px;line-height:1.6;text-align:center}@media(max-width:900px){.auth-workspace .auth-workspace-layout{grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:30px;padding:32px}.auth-workspace .auth-brand-message h2{font-size:clamp(30px,4vw,42px)}}@media(max-width:720px){.auth-page.auth-workspace{background-image:linear-gradient(150deg,#081b2de0,#0b2338ab),url(/images/duggis-login-office-background.webp)}.auth-workspace .auth-workspace-layout{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:30px;width:min(100%,520px);padding:34px 20px}.auth-workspace .auth-brand-panel{align-self:auto;gap:22px;padding:0}.auth-workspace .auth-brand-message{margin:0;padding:0}.auth-workspace .auth-brand-message h2{max-width:420px;font-size:clamp(28px,7vw,38px)}.auth-workspace .auth-brand-message p{margin-top:12px;font-size:14px;line-height:1.6}.auth-workspace .auth-brand-accent{width:42px;margin-bottom:14px}.auth-workspace .auth-workspace-main{width:100%}.auth-workspace .auth-card.auth-workspace-card{max-width:none;padding:clamp(25px,6vw,36px)}}@media(max-width:380px){.auth-workspace .auth-workspace-layout{padding:24px 14px}.auth-workspace .auth-brand-mark{width:48px;height:48px;font-size:15px}.auth-workspace .auth-brand-name strong{font-size:16px}.auth-workspace .auth-brand-name span{font-size:9px}.auth-workspace .auth-brand-message h2{font-size:27px}.auth-workspace .auth-card.auth-workspace-card{padding:25px 21px}}@media(prefers-reduced-motion:reduce){.auth-workspace .auth-workspace-card form input,.auth-workspace .auth-workspace-card .primary-button{transition:none}}
