@font-face{font-family:Barlow;src:url('Barlow-Regular.ttf') format('truetype');font-weight:100 500;font-display:swap}@font-face{font-family:Barlow;src:url('Barlow-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Barlow;src:url('Barlow-Bold.ttf') format('truetype');font-weight:650 900;font-display:swap}@font-face{font-family:'Barlow Condensed';src:url('BarlowCondensed-Bold.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--navy:#1a2b6d;--navy-deep:#101c46;--blue-bright:#1b8fe8;--blue-light:#e7f3fc;--cream:#f4efe4;--cream-dark:#eae3d2;--white:#fff;--ink:#172444;--muted:#6b7388;--line:#e1e5ed;--surface:#f6f7f9;--green:#227557;--green-bg:#eaf5ee;--amber:#926216;--amber-bg:#fcf2da;--red:#ae3434;--red-bg:#fcecec;--shadow:rgba(16,28,70,.18);--overlay:rgba(16,28,70,.5);--font-body:Barlow,'Segoe UI',sans-serif;--font-display:'Barlow Condensed',Barlow,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:15px/1.55 var(--font-body);background:var(--surface)}a{color:var(--navy)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid var(--navy);background:var(--navy);color:var(--white);text-decoration:none;font-size:13px;font-weight:650;line-height:1.4;min-height:42px}button:hover,.button:hover{background:var(--navy-deep)}button.secondary,.button.secondary{background:var(--white);color:var(--navy);border-color:var(--line)}button.secondary:hover,.button.secondary:hover{border-color:var(--navy);background:var(--surface)}button.ghost{background:transparent;border-color:transparent;color:var(--navy);padding:6px 8px}button.danger{background:var(--red);border-color:var(--red)}button.small,.button.small{padding:7px 11px;min-height:34px;font-size:12px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue-bright);outline-offset:3px}input,select,textarea{width:100%;border:1px solid var(--line);background:var(--white);color:var(--ink);padding:11px 12px;min-height:44px;border-radius:0}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--navy);flex-shrink:0}label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:5px}input::placeholder{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-family:var(--font-display);font-size:34px;letter-spacing:-1.2px;line-height:1.15;margin-bottom:9px;font-weight:750}h2{font-size:20px;line-height:1.3;letter-spacing:-.4px;margin-bottom:18px}h3{font-size:15px;margin-bottom:8px}p{margin-bottom:13px}small{font-size:12px;color:var(--muted)}svg.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--muted);margin:0 0 12px}.row{display:flex;align-items:center;gap:12px}.spread{display:flex;align-items:center;justify-content:space-between;gap:16px}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stack{display:grid;gap:14px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.skip{position:fixed;left:10px;top:-80px;background:var(--white);padding:12px;z-index:500}.skip:focus{top:10px}.loading{display:grid;place-content:center;min-height:100vh;gap:20px;text-align:center}.wordmark{font-size:37px;font-weight:900;letter-spacing:-2px;color:var(--navy);line-height:.9}.wordmark span{display:block;font-size:10px;letter-spacing:5px;margin:7px 0 0 4px;font-weight:700}.brand{display:flex;align-items:center;gap:14px;padding:33px 28px 28px}.brand .pro{border-left:1px solid var(--line);padding-left:12px;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;line-height:1.4;color:var(--muted)}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--white);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.nav-group{padding:16px 15px 5px}.nav-label{padding:0 15px 10px;font-size:9px;letter-spacing:1.6px;font-weight:750;color:var(--muted);text-transform:uppercase}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 15px;text-decoration:none;font-size:13px;font-weight:500;color:var(--muted);margin-bottom:3px;border-left:3px solid transparent}.nav-link:hover{color:var(--navy);background:var(--surface)}.nav-link.active{background:var(--blue-light);color:var(--navy);border-left-color:var(--blue-bright);font-weight:700}.nav-link .count{margin-left:auto;font-size:10px;background:var(--white);padding:1px 6px}.sidebar-bottom{margin-top:auto;padding:18px;border-top:1px solid var(--line)}.contact-card{padding:14px;background:var(--cream);font-size:12px}.contact-card p{margin:0 0 6px}.contact-card a{font-weight:600;text-decoration:none}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:15px 4px 0;font-size:10px;color:var(--muted)}.dot{width:6px;height:6px;background:var(--green);display:inline-block;border-radius:50%}.workspace{margin-left:238px;min-height:100vh}.topbar{height:80px;background:var(--white);border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:550;margin-left:8px}.user-avatar{width:36px;height:36px;display:grid;place-items:center;background:var(--cream);color:var(--navy);font-size:12px;font-weight:750}.user-info{font-size:12px;line-height:1.4}.user-info small{font-size:10px}.topbar button.ghost{position:relative}.notification-dot{position:absolute;right:5px;top:4px;width:6px;height:6px;background:var(--blue-bright);border-radius:50%}.demo-strip{padding:7px 38px;background:var(--cream);font-size:11px;color:var(--amber);display:flex;justify-content:space-between}.main{padding:34px 38px 50px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{font-size:13px;color:var(--muted);margin-bottom:0}.hero{background:var(--navy);color:var(--white);padding:30px 32px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;min-height:192px;margin-bottom:25px}.hero .eyebrow{color:var(--cream-dark);font-size:9px}.hero h2{font-size:27px;max-width:500px;margin:0 0 9px;letter-spacing:-.7px}.hero p{color:var(--cream-dark);font-size:13px;max-width:440px}.hero .button{background:var(--white);color:var(--navy);border-color:var(--white);font-size:12px}.hero .hero-art{width:220px;height:140px;flex-shrink:0;margin-right:24px}.hero-art svg{width:100%;height:100%;stroke:var(--blue-bright);fill:var(--navy-deep);stroke-width:1.5}.hero-art .top{fill:var(--blue-bright);fill-opacity:.15;stroke:var(--blue-bright)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.metric{padding:22px 23px;background:var(--white);border:1px solid var(--line);text-decoration:none;color:var(--ink)}.metric-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.metric-top svg{color:var(--navy)}.metric strong{display:block;font-size:31px;font-weight:650;letter-spacing:-1px;margin:8px 0 3px;line-height:1.2}.metric small{font-size:10px}.metric .blue{color:var(--blue-bright)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px}.panel{background:var(--white);border:1px solid var(--line);padding:23px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.panel-head h2{font-size:16px;margin:0}.panel-head a{font-size:11px;text-decoration:none}.panel-flush{padding:0}.panel-flush .panel-head{padding:21px 23px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:600;background:var(--surface);padding:12px 16px;white-space:nowrap}td{padding:16px;border-bottom:1px solid var(--line);vertical-align:middle}tr:last-child td{border-bottom:0}td small{display:block;font-size:10px;margin-top:3px}td a{text-decoration:none;font-weight:600}td.money,th.money{text-align:right;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:10px;white-space:nowrap;background:var(--surface);color:var(--muted);font-weight:600}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.blue{background:var(--blue-light);color:var(--navy)}.badge.green{background:var(--green-bg);color:var(--green)}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.timeline{display:grid;gap:18px}.timeline-item{display:flex;gap:15px;align-items:flex-start}.date-tile{width:47px;min-width:47px;background:var(--cream);padding:6px;text-align:center;line-height:1.2;color:var(--navy)}.date-tile strong{display:block;font-size:22px;font-weight:650}.date-tile small{text-transform:uppercase;font-size:8px;color:var(--navy)}.timeline-item h3{margin:0 0 3px;font-size:12px}.timeline-item p{font-size:10px;color:var(--muted);margin:0 0 5px}.timeline-item a{text-decoration:none}.tool-promo{background:var(--cream);border:0;position:relative;overflow:hidden}.tool-promo h2{font-size:21px;max-width:240px;margin-bottom:10px}.tool-promo p{font-size:12px;color:var(--muted)}.tool-promo .actions{margin-top:18px}.empty{padding:34px 24px;text-align:center;color:var(--muted);font-size:13px}.empty svg{width:30px;height:30px;margin-bottom:12px;color:var(--navy)}.empty h3{color:var(--ink)}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1;min-width:200px;max-width:400px}.toolbar select{width:auto;min-width:150px}.toolbar .count-label{margin-left:auto;font-size:12px;color:var(--muted)}.project-card{background:var(--white);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;min-height:210px}.project-card .eyebrow{font-size:9px}.project-card h2{font-size:20px;margin:13px 0 6px}.project-card p{font-size:12px;color:var(--muted)}.project-card .actions{margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.project-meta{display:flex;gap:13px;font-size:11px;color:var(--navy);margin:0 0 20px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:20px 0}.detail-meta small{display:block;font-size:10px;margin-bottom:4px}.detail-meta p{font-size:13px;margin:0;white-space:pre-line}.detail-aside .panel{padding:20px}.key-value{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px}.key-value.total{border-top:1px solid var(--line);padding-top:14px;font-size:17px;font-weight:700;color:var(--navy)}.notice{padding:13px 16px;background:var(--amber-bg);border-left:3px solid var(--amber);font-size:12px;margin-bottom:18px}.notice.good{background:var(--green-bg);border-color:var(--green)}.notice.info{background:var(--blue-light);border-color:var(--blue-bright)}.error{padding:12px;background:var(--red-bg);color:var(--red);font-size:13px;margin:12px 0}.progress-steps{display:flex;padding:18px 0 28px;gap:6px;flex-wrap:wrap}.progress-step{flex:1;min-width:95px;border-top:3px solid var(--line);padding-top:9px;font-size:10px;color:var(--muted)}.progress-step.done{border-color:var(--blue-bright);color:var(--navy)}.message{padding:14px 0;border-bottom:1px solid var(--line)}.message .spread{font-size:11px}.message p{font-size:13px;white-space:pre-wrap;margin:8px 0}.file-list{display:grid;gap:10px}.file-row{display:flex;gap:11px;align-items:center;padding:12px;border:1px solid var(--line);font-size:12px;text-decoration:none;overflow-wrap:anywhere}.file-row small{font-size:10px}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.product-card{background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.product-visual{height:126px;background:var(--cream);display:flex;align-items:center;justify-content:center;position:relative}.product-visual img{max-width:85%;max-height:106px;object-fit:contain;mix-blend-mode:multiply}.product-visual>svg{width:54px;height:54px;stroke-width:1;color:var(--navy)}.product-visual .favorite{position:absolute;top:7px;right:7px;color:var(--muted)}.product-visual .favorite.selected{color:var(--blue-bright)}.product-body{padding:17px;display:flex;flex-direction:column;flex:1}.product-body .eyebrow{font-size:8px;margin:0 0 6px}.product-body h3{font-size:13px;min-height:39px;line-height:1.4}.product-body p{font-size:10px;color:var(--muted);margin:0 0 12px}.product-price{font-size:19px;font-weight:650;margin-top:auto}.product-price small{font-size:10px;font-weight:400}.product-body button{margin-top:13px;width:100%;font-size:11px}.cart{position:sticky;top:20px;background:var(--white);border:1px solid var(--line);padding:22px;align-self:start}.cart h2{font-size:18px}.cart-item{padding:13px 0;border-bottom:1px solid var(--line)}.cart-item h3{font-size:12px}.cart-item input{width:90px;min-height:34px;padding:5px 8px}.cart-item .spread{font-size:12px}.cart-footer{padding-top:20px}.cart-footer button{width:100%;margin-top:10px}.cart small{font-size:10px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.calendar .day{min-height:100px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--white)}.calendar .day-number{font-size:11px;color:var(--muted)}.calendar .day.today .day-number{background:var(--navy);color:var(--white);padding:3px 6px}.calendar .day.inactive{background:var(--surface)}.calendar .weekday{padding:10px;font-size:10px;background:var(--surface);text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.calendar a{display:block;font-size:9px;background:var(--blue-light);padding:5px;margin-top:5px;text-decoration:none;border-left:2px solid var(--blue-bright)}.calendar a.requested{background:var(--amber-bg);border-color:var(--amber)}
dialog{border:0;padding:0;width:min(720px,calc(100vw - 28px));max-height:90vh;color:var(--ink);background:var(--white);box-shadow:0 20px 90px var(--shadow)}dialog::backdrop{background:var(--overlay)}.modal-header{padding:22px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:var(--white);z-index:2}.modal-header h2{margin:0;font-size:23px}.modal-body{padding:26px 28px}.modal-footer{padding:18px 28px;background:var(--surface);border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.field small{display:block;margin-top:5px;font-size:10px}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;color:var(--ink)}.form-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.form-section h3{font-size:13px}.form-note{font-size:11px;color:var(--muted);margin:15px 0 0}.inline-qty{width:90px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.tabs a{padding:9px 16px;text-decoration:none;font-size:12px;border:1px solid var(--line);background:var(--white)}.tabs a.active{background:var(--navy);color:var(--white);border-color:var(--navy)}.tool-card{padding:27px;background:var(--white);border:1px solid var(--line);display:flex;flex-direction:column}.tool-card .tool-icon{width:48px;height:48px;background:var(--blue-light);display:grid;place-items:center;color:var(--navy);margin-bottom:24px}.tool-card .tool-icon svg{width:26px;height:26px}.tool-card h2{font-size:23px}.tool-card p{font-size:13px;color:var(--muted);flex:1}.resource-row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.resource-row:last-child{border:0}.resource-row a{text-decoration:none}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.code{font-family:Consolas,monospace;word-break:break-all;padding:14px;background:var(--cream);font-size:13px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--navy);color:var(--white);padding:60px 12%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.auth-story .wordmark{color:var(--white);display:block}.auth-story h1{font-size:53px;max-width:450px;line-height:1.05;margin:42px 0 24px}.auth-story p{font-size:15px;color:var(--cream-dark);max-width:390px}.auth-story .eyebrow{color:var(--blue-bright)}.auth-story .hero-art{width:100%;height:240px;margin:30px 0}.auth-story footer{font-size:11px;color:var(--cream-dark);margin-top:24px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px;background:var(--cream)}.auth-inner{width:100%;max-width:420px}.auth-inner h2{font-size:30px;margin-bottom:8px}.auth-inner .field{margin-top:17px}.auth-inner button[type=submit]{width:100%;margin-top:25px;padding:14px}.auth-inner .auth-links{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:18px 0 25px}.auth-inner .auth-links a{text-decoration:none}.auth-inner .demo-box{border:1px solid var(--cream-dark);padding:16px;font-size:12px}.auth-inner .demo-box p{font-size:11px;margin:0 0 9px}.auth-inner .demo-box button{font-size:11px;padding:7px 11px;min-height:34px}.auth-inner .legal-link{font-size:10px;color:var(--muted);margin-top:28px;text-align:center}.mobile-menu{display:none}.page-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:32px}.page-footer a{color:var(--muted)}#toast{position:fixed;right:25px;bottom:25px;max-width:min(420px,calc(100vw - 40px));padding:14px 20px;background:var(--navy);color:var(--white);font-size:13px;z-index:100;display:none}#toast.visible{display:block}.print-body{background:var(--white)}.print-sheet{max-width:900px;margin:auto;padding:35px}.print-toolbar{background:var(--cream);padding:15px;margin-bottom:25px}.print-toolbar p{font-size:12px;margin:8px 0 0}.document-header{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--navy);padding-bottom:24px;margin-bottom:26px}.document-header img{width:160px;max-height:90px;object-fit:contain}.document-header h1{font-size:35px}.document-totals{margin:25px 0 30px auto;width:300px}.document-totals p{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px}.document-footer{font-size:10px;color:var(--muted);border-top:1px solid var(--line);margin-top:40px;padding-top:15px}.check-list{display:grid;gap:12px}.admin-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.status-box{padding:20px;border:1px solid var(--line);background:var(--white)}.status-box p{font-size:12px;color:var(--muted)}.status-box h3{font-size:15px}
@media(min-width:1550px){.main{padding-top:42px}.hero{min-height:210px}.hero h2{font-size:31px}.metric strong{font-size:35px}}
@media(max-width:1200px){.main{padding:28px 25px}.topbar{padding:0 25px}.product-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.metrics{gap:10px}.metric{padding:17px}.metric strong{font-size:26px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) 290px}.hero-art{margin-right:0!important;width:170px!important}.detail-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:980px){.sidebar{width:205px}.workspace{margin-left:205px}.brand{padding-left:22px}.dashboard-grid,.detail-layout,.catalog-layout{grid-template-columns:1fr}.cart{position:static}.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-col{grid-template-columns:1fr 1fr}.topbar .user-info{display:none}.auth-story{padding:45px 10%}.auth-story h1{font-size:43px}.detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}}
@media(max-width:700px){h1{font-size:29px}.sidebar{transform:translateX(-100%);width:238px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:20px 0 80px var(--shadow)}.workspace{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 18px}.breadcrumb{display:none}.main{padding:24px 17px 35px}.demo-strip{padding:7px 17px;font-size:10px}.demo-strip span:last-child{display:none}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px}.page-heading>.actions{justify-content:flex-end}.page-heading>.actions button,.page-heading>.actions a{font-size:11px;padding:9px 11px}.hero{padding:24px;min-height:190px}.hero h2{font-size:25px}.hero-art{display:none}.hero p{font-size:12px}.metric{padding:17px}.metric strong{font-size:28px}.metric-top{font-size:10px}.dashboard-grid>aside{display:block}.project-grid,.two-col,.security-grid,.three-col,.admin-overview{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-body{padding:13px}.product-price{font-size:17px}.product-visual{height:105px}.detail-meta{grid-template-columns:1fr 1fr}.detail-aside{display:block}.panel{padding:18px}.panel-flush{padding:0}.panel-head{flex-wrap:wrap}.calendar .day{min-height:85px;padding:4px}.calendar a{font-size:8px;padding:3px;word-break:break-word}.calendar .weekday{font-size:8px;padding:7px 2px}.auth{grid-template-columns:1fr}.auth-story{min-height:auto;padding:26px}.auth-story h1{font-size:31px;margin:24px 0 12px}.auth-story p{font-size:12px;margin:0}.auth-story footer,.auth-story .eyebrow{display:none}.auth-form{padding:30px 24px;align-items:flex-start}.auth-inner h2{font-size:26px}.form-grid{grid-template-columns:1fr}.modal-header,.modal-body{padding:20px}.modal-footer{padding:16px 20px}.page-footer{gap:15px}.toolbar .count-label{display:none}.toolbar input{max-width:none}.print-sheet{padding:18px}.document-header img{width:120px}.print-sheet .two-col{grid-template-columns:1fr 1fr}.user-info{display:none}.nav-group{padding-top:8px}}
@media print{body{background:white;color:black}.print-toolbar{display:none}.print-sheet{padding:0;max-width:none}.print-sheet .two-col{display:grid;grid-template-columns:1fr 1fr}.print-sheet table{font-size:10px}.print-sheet th,.print-sheet td{padding:8px}.print-sheet tr{break-inside:avoid}.document-header{break-after:avoid}.document-totals{break-inside:avoid}.document-footer{break-inside:avoid}@page{size:A4;margin:16mm}}
.brand,.auth-story>a{text-decoration:none}.sidebar{overflow-y:auto}.nav-link span:first-of-type::first-letter{text-transform:uppercase}
.dashboard-grid>*,.detail-layout>*,.catalog-layout>*,.panel,.workspace{min-width:0}.table-wrap{max-width:100%}
@media(max-width:700px){.table-wrap table{min-width:510px}.sidebar-bottom{margin-top:20px}.sidebar .brand{padding-top:24px;padding-bottom:20px}.sidebar .nav-link{padding-top:9px;padding-bottom:9px}.sidebar .nav-group{padding-top:10px}.sidebar .nav-label{padding-bottom:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.print-body{font-size:10pt;line-height:1.35}.print-sheet p{margin-bottom:7px}.print-sheet h2{font-size:15pt;margin:14px 0 9px}.print-sheet h3{font-size:11pt;margin-bottom:6px}.document-header{padding-bottom:12px;margin-bottom:17px}.document-header img{width:125px;max-height:65px}.document-header h1{font-size:28pt;margin-bottom:5px}.document-header .eyebrow{font-size:7pt;margin-bottom:6px}.print-sheet .notice{padding:8px 10px;font-size:8pt;margin-bottom:14px}.print-sheet td,.print-sheet th{padding:7px 9px}.document-totals{width:260px;margin:15px 0 18px auto}.document-totals p{padding-bottom:5px}.document-footer{font-size:7pt;margin-top:20px;padding-top:10px}thead{display:table-header-group}}
/* Interface essentielle MCP : photos, lecture claire et une seule entrée par fonction. */
:root{--cream:#f2f6fa;--cream-dark:#e2eaf2;--surface:#f7f9fc;--muted:#59677b}
h1{font-family:var(--font-body);font-size:32px;letter-spacing:-.8px}button,.button,input,select,textarea{border-radius:7px}.panel,.cart,.product-card,.project-card,.metric{border-radius:12px}.brand{flex-direction:column;align-items:flex-start;gap:10px;padding:25px 28px 14px}.brand-logo{width:150px;height:auto;object-fit:contain}.brand .pro{border:0;padding:0;font-size:10px}.nav-link{border-radius:7px;font-size:14px;padding-top:10px;padding-bottom:10px}.nav-group{padding-top:12px}.sidebar-footer{display:none}.contact-card{border-radius:8px}.page-heading .eyebrow{display:none}.page-heading p{font-size:15px}.main{max-width:1540px;margin:auto}.welcome-panel{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center;padding:35px 40px;background:#edf4fa;border:1px solid #dee9f3;border-radius:14px;margin-bottom:24px}.welcome-panel h2{font-size:30px;line-height:1.2;margin-bottom:16px}.welcome-panel p{color:var(--muted)}.welcome-panel img{width:100%;height:220px;object-fit:contain}.overview-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 28px}.overview-links a{display:flex;align-items:center;gap:14px;text-decoration:none;background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.overview-links strong{font-size:28px}.overview-links span{font-size:14px}.overview-links svg{margin-left:auto}.catalog-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.product-grid{grid-template-columns:1fr;gap:16px;align-content:start}.product-card{display:grid;grid-template-columns:210px minmax(0,1fr);overflow:hidden}.product-visual{height:100%;min-height:210px;background:#edf2f6;padding:18px}.product-visual img{width:100%;height:180px;max-width:100%;max-height:180px;mix-blend-mode:normal;object-fit:contain}.product-body{padding:22px}.product-body h2{font-size:21px;margin-bottom:8px}.product-body p{font-size:14px;line-height:1.5;margin-bottom:14px}.product-price{font-size:24px;margin-top:0}.product-price small{font-size:13px}.pack-price{font-size:13px;color:var(--muted);margin-top:3px}.product-body button{align-self:flex-start;width:auto;font-size:14px;margin-top:16px}.cart h2{font-size:21px}.cart-item h3{font-size:15px}.cart small{font-size:12px}.cart-item input{min-height:44px}.cart-footer button{font-size:14px}.cart-footer .total{font-size:18px}.catalog-help{margin:22px 0;font-size:14px}.catalog-help a{white-space:nowrap}.catalog-help svg{vertical-align:middle}.resource-list h2{font-size:18px;margin-bottom:5px}.resource-list p{color:var(--muted);font-size:14px;margin:0}.resource-list .resource-row{padding:23px 0}.resource-row .button{flex-shrink:0}.auth-story{background:#eef4fa;color:var(--ink)}.auth-story h1{font-size:44px;line-height:1.1}.auth-story p,.auth-story footer{color:var(--muted)}.auth-story .brand-logo{width:190px}.auth-product{width:100%;max-height:250px;object-fit:contain;margin-top:20px}.auth-form{background:white}.auth-story .eyebrow{color:var(--navy)}
@media(max-width:1100px){.catalog-layout{grid-template-columns:minmax(0,1fr) 280px}.product-card{grid-template-columns:150px minmax(0,1fr)}.product-visual{padding:10px}.product-body{padding:18px}.welcome-panel{padding:28px}.overview-links a{padding:15px;gap:10px}}
@media(max-width:980px){.catalog-layout{grid-template-columns:1fr}.product-card{grid-template-columns:210px minmax(0,1fr)}.cart{position:static}.welcome-panel h2{font-size:26px}.overview-links{grid-template-columns:1fr;gap:8px}.overview-links a{padding:10px 18px}.overview-links strong{font-size:24px}.welcome-panel img{height:160px}}
@media(max-width:700px){h1{font-size:28px}.page-heading{display:block}.page-heading>.actions{justify-content:flex-start;margin-top:12px}.brand{flex-direction:column;align-items:flex-start}.welcome-panel{grid-template-columns:1fr;padding:24px;gap:4px}.welcome-panel img{height:140px}.welcome-panel h2{font-size:27px}.product-card{grid-template-columns:1fr}.product-visual{height:180px;min-height:0;padding:14px 30px}.product-visual img{height:155px}.product-body{padding:22px}.product-body button{width:100%;min-height:46px}.product-grid{grid-template-columns:1fr}.resource-list .resource-row{align-items:flex-start;flex-direction:column}.auth-story{padding:26px;min-height:auto}.auth-story .brand-logo{width:140px}.auth-story h1{font-size:30px;margin-top:20px}.auth-product{display:none}.overview-links span{font-size:15px}.catalog-help a{white-space:normal}.page-footer{flex-wrap:wrap}.main .page-heading p{font-size:14px}}
.mobile-brand,.cart-jump{display:none}
@media(max-width:980px){.cart-jump{display:inline-flex;margin-bottom:18px}#cart-panel{scroll-margin-top:18px}}
@media(max-width:700px){.mobile-brand{display:flex;margin-right:auto;align-items:center}.mobile-brand img{width:85px;height:auto}.topbar{gap:12px}.topbar .row{gap:8px}}
/* Densité et hiérarchie : couleur réservée aux actions et aux états. */
.page-heading{margin-bottom:24px;align-items:center}.page-heading h1{margin:0;font-size:28px}.page-heading p:empty{display:none}.nav-group+.nav-group{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.brand{padding-bottom:26px}.contact-card{background:transparent;padding:4px}.sidebar-bottom{padding:18px 28px}.demo-strip{background:#f4f5f7;color:#697386;font-size:10px;padding-top:4px;padding-bottom:4px}.overview-links{gap:14px;margin-bottom:24px}.overview-links a{border:0;border-left:3px solid transparent;border-radius:7px;padding:22px}.overview-links .overview-pending{background:#fff4df;border-color:#b47a1f;color:#754c0c}.overview-links .overview-orders{background:#eaf2ff;border-color:#2766bf;color:#234d89}.overview-links .overview-deliveries{background:#e8f4ef;border-color:#378465;color:#245e49}.overview-links span{font-weight:600}.overview-links strong{font-size:30px}.panel-head h2{font-size:18px}.catalog-layout{gap:22px}.product-card{grid-template-columns:190px minmax(0,1fr)}.product-visual{min-height:176px;background:#f0f3f6}.product-visual img{height:145px;max-height:145px}.product-body{padding:20px}.product-body h2{font-size:19px;margin-bottom:4px}.product-body p{font-size:13px;margin-bottom:9px}.product-price{font-size:22px}.product-body button{margin-top:12px}.cart{border-top:3px solid var(--navy);background:#f0f4fa;padding:20px}.cart-item{border-color:#d4deec}.cart-footer{padding-top:16px}.cart-footer p{margin:6px 0 12px}.cart .badge{background:white}.resource-list{padding-top:0;padding-bottom:0}.resource-list .resource-row{padding:18px 0}.resource-list h2{margin:0;font-size:16px}.auth{display:flex;justify-content:center;align-items:center;padding:40px 20px;min-height:100vh;background:var(--surface)}.auth-form{width:440px;max-width:100%;padding:32px;border:1px solid var(--line);border-radius:12px}.auth-logo{display:block;margin-bottom:28px}.auth-logo img{width:150px;height:auto}.auth-inner h2{font-size:25px;margin-bottom:22px}.auth-inner .demo-box{background:var(--surface);border:0;border-radius:7px}.auth-inner .legal-link{margin-bottom:0}.empty{padding:30px}.empty p:empty{display:none}.page-footer{margin-top:24px}.badge{border-radius:4px}
@media(max-width:980px){.overview-links{grid-template-columns:1fr}.overview-links a{padding:14px 20px}.product-card{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:700px){.page-heading{display:flex;flex-wrap:wrap;gap:14px}.page-heading>.actions{margin:0}.page-heading h1{font-size:25px}.product-card{grid-template-columns:112px minmax(0,1fr)}.product-visual{height:100%;min-height:160px;padding:8px}.product-visual img{height:100px;max-height:100px}.product-body{padding:16px 12px}.product-body h2{font-size:17px}.product-body p{font-size:12px}.product-price{font-size:20px}.product-price small,.pack-price{font-size:11px}.product-body button{font-size:12px;padding:9px 8px;min-height:40px}.cart-jump{margin-bottom:14px}.auth{padding:20px 16px}.auth-form{padding:25px}.resource-list .resource-row{flex-direction:row;align-items:center;gap:12px}.resource-list h2{font-size:15px}.resource-list .button{padding:9px;font-size:12px}.overview-links strong{font-size:26px}}
/* Finition : navigation marine, actions bleues, contact directement appelable. */
:root{--navy:#1458bd;--navy-deep:#104797;--blue-bright:#2385ec;--ink:#182d48;--surface:#f3f6fa;--line:#dce4ef;--rail:#102741;--rail-muted:#b9cce1}
.sidebar{background:var(--rail);border-right:0;color:white}.sidebar .brand{margin:22px 20px 20px;padding:15px 17px 12px;gap:7px;background:#fff;border-radius:10px;align-items:center}.sidebar .brand-logo{width:145px}.sidebar .brand .pro{color:#455a72;font-size:10px;letter-spacing:1.5px}.sidebar .nav-group{padding-left:12px;padding-right:12px}.sidebar .nav-group+.nav-group{border-top-color:#2a4059;margin-top:14px;padding-top:14px}.sidebar .nav-link{color:#cbd9e9;min-height:44px;border-left:0;padding-left:16px;font-weight:500;margin-bottom:5px}.sidebar .nav-link:hover{background:#203c5c;color:#fff}.sidebar .nav-link.active{background:#2267c7;color:#fff;box-shadow:0 3px 10px #00000016}.sidebar .nav-link .count{color:#fff;background:#314e71;border-radius:4px;font-weight:700}.sidebar .nav-link.active .count{background:#ffffff26}.sidebar-bottom{border-top:0;padding:20px 16px}.contact-card{background:#1b3552;border:1px solid #35506f;border-radius:10px;padding:17px 14px;color:#fff}.contact-label{display:block;color:#bfd0e3;font-size:11px;line-height:1.4;margin-bottom:5px}.contact-name{display:block;font-size:17px;font-weight:600;line-height:1.3;margin-bottom:14px}.contact-card .contact-phone{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 6px;border-radius:6px;background:#fff;color:#173b68;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none}.contact-phone:hover{background:#e7f1ff}.contact-phone svg{width:16px;height:16px}.topbar{height:74px}.topbar .user-avatar{border-radius:50%;background:#e9f1fb;color:#174a8a}.topbar .user-info{font-size:13px}.topbar .user-info small{font-size:11px}.page-heading h1{font-weight:600;letter-spacing:-.6px}.page-heading .button{box-shadow:0 3px 8px #1458bd20}.panel,.product-card,.project-card{box-shadow:0 2px 5px #182d4804}.product-body h2{font-weight:600}.product-body button{background:#e8f1ff;border-color:#bbd2f2;color:#174f9c}.product-body button:hover{background:#d7e7ff;border-color:#7eaae5}.cart{background:#fff;border-top-color:#2267c7;box-shadow:0 5px 18px #173b6808}.cart-footer button:not(.secondary):not(.ghost){background:#1458bd;border-color:#1458bd}.cart-footer button:not(.secondary):not(.ghost):hover{background:#104797}.cart-footer button.secondary{background:#eaf2ff;border-color:#bfd3ee;color:#174f9c}button.secondary,.button.secondary{background:#edf3fb;border-color:#c9d9ed;color:#204e88}button.secondary:hover,.button.secondary:hover{background:#ddeafa;border-color:#93b2d9}button:disabled{cursor:not-allowed;opacity:1;background:#edf1f6!important;border-color:#e1e7ee!important;color:#8795a9!important;box-shadow:none}.overview-links a:hover{outline:1px solid currentColor;outline-offset:-1px}.auth-form{border-top:4px solid #1458bd;box-shadow:0 12px 40px #173b680c}a:focus-visible,button:focus-visible{outline-color:#42a7ff}
@media(max-width:980px) and (min-width:701px){.sidebar .brand{margin-left:15px;margin-right:15px;padding-left:12px;padding-right:12px}.sidebar .brand-logo{width:135px}.sidebar-bottom{padding:14px 12px}.contact-card{padding:14px 10px}.contact-card .contact-phone{font-size:13px;gap:6px}}
@media(max-width:700px){.topbar{height:65px}.sidebar .brand{padding:15px 17px 12px}.sidebar .nav-group{padding-top:8px}.sidebar .nav-link{padding-top:9px;padding-bottom:9px}.sidebar-bottom{padding:15px 16px;margin-top:auto}.contact-card{padding:15px 14px}.contact-name{font-size:17px}.product-body button{min-height:42px}}

/* Commande directe et identité MCP. */
.sidebar .brand{background:transparent;border-radius:0}.overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.overview-links{grid-template-columns:1fr}}

.public-price{font-size:12px;color:var(--muted);margin:4px 0 6px}#discount-preview table{min-width:0}#discount-preview td{padding:12px 8px}

.contact-card .contact-email{display:block;margin-top:12px;color:#e4efff;font-size:11px;overflow-wrap:anywhere;text-align:center}.order-document{background:white;border:1px solid var(--line);border-radius:10px;padding:32px;max-width:1000px;margin:0 auto}.order-document h1{font-size:26px}.order-document .document-header{gap:20px}.order-document .document-header img{width:150px;height:auto;object-fit:contain}.order-actions{margin:0 0 20px}.order-reception{padding:18px 0;border-top:1px solid var(--line)}.order-reception p{margin:5px 0}.order-notes{clear:both;overflow-wrap:anywhere}.order-document .document-footer{clear:both}.field[hidden]{display:none!important}@media(max-width:700px){.order-document{padding:18px}.order-document .document-header{flex-direction:column;align-items:flex-start}.order-document .two-col{grid-template-columns:1fr;gap:10px}.order-document .document-totals{width:100%}.order-document .document-header img{width:120px}.order-document table{min-width:440px}}

/* Sélection des quantités et calculateur au-dessus des articles. */
.basin-calculate{justify-self:start;justify-content:flex-start;gap:14px;min-height:68px;padding:18px 26px;font-size:22px;font-weight:700;background:#1458bd;border-color:#1458bd;margin-bottom:4px;text-align:left}.basin-calculate:hover{background:#104797}.basin-calculate .icon{width:24px;height:24px}.product-order{margin-top:16px}.product-order label{font-size:12px;margin-bottom:6px}.product-order-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.product-order-controls select{width:94px;min-width:80px;font-size:15px;font-weight:600}.product-body .product-order-controls button{margin:0;width:auto;min-height:46px;font-size:13px}.product-grid .basin-calculate{width:auto}@media(max-width:700px){.product-grid .basin-calculate{width:100%;font-size:20px;padding:18px 16px;gap:10px}.basin-calculate .icon:last-child{margin-left:auto}.product-order-controls{gap:8px}.product-order-controls select{width:100%}.product-body .product-order-controls button{width:100%;font-size:12px}}

.cart-item select.cart-qty{width:105px;min-height:42px;padding:8px 10px;flex-shrink:0}

/* Accès principaux du tableau de bord. */
.overview-links{gap:20px;margin-bottom:30px}
.overview-links a{min-height:140px;padding:26px;gap:20px;border:0;border-radius:12px;box-shadow:0 6px 18px #173b681a}
.overview-links .overview-orders{background:#1458bd;color:#fff}
.overview-links .overview-deliveries{background:#146b54;color:#fff}
.overview-links strong{display:grid;place-items:center;min-width:72px;height:72px;padding:0 12px;border-radius:12px;background:#ffffff24;font-size:40px;line-height:1;font-weight:700;flex-shrink:0}
.overview-links span{font-size:21px;font-weight:700;line-height:1.25}
.overview-links .icon{width:28px;height:28px;stroke-width:2}
.overview-links .overview-orders:hover{background:#10499e}
.overview-links .overview-deliveries:hover{background:#105740}
.overview-links a:focus-visible{outline:3px solid #42a7ff;outline-offset:4px}
@media(max-width:1100px){.overview-links a{padding:22px 18px;gap:14px}.overview-links span{font-size:19px}.overview-links strong{min-width:60px;height:64px;font-size:35px}}
@media(max-width:700px){.overview-links{gap:14px}.overview-links a{min-height:116px;padding:22px 18px}.overview-links span{font-size:20px}.overview-links .icon{width:24px;height:24px}}

/* Commandes : références, statuts et montants lisibles. */
.record-table{font-size:16px}
.record-table th{font-size:12px;padding:15px 20px;letter-spacing:.6px;color:#465870}
.record-table td{padding:22px 20px;line-height:1.5}
.record-table td a{font-size:17px;font-weight:700}
.record-table td small{font-size:13px;margin-top:5px}
.record-table .badge{font-size:14px;padding:7px 11px;font-weight:600}
.record-table .badge:before{width:6px;height:6px}
.record-table td.money{font-size:17px;font-weight:700;color:#173b68}
.record-table td:last-child .icon{width:24px;height:24px}
@media(max-width:700px){.record-table td,.record-table th{padding:16px 14px}.record-table td a,.record-table td.money{font-size:16px}.record-table .badge{font-size:13px}}

.page-heading .account-password{background:#1458bd;border-color:#1458bd;color:white;font-size:16px;font-weight:700;min-height:52px;padding:14px 20px;box-shadow:0 4px 12px #1458bd26}.page-heading .account-password:hover{background:#104797;border-color:#104797}@media(max-width:700px){.page-heading .actions .account-password{font-size:15px;min-height:50px;padding:13px 16px;width:100%}}

/* Cartes de suivi sobres, compteurs lisibles. */
.overview-links a{min-height:146px;padding:26px;gap:20px;border:1px solid #dbe4ef;border-radius:14px;box-shadow:0 3px 12px #173b6805;transition:border-color .18s,box-shadow .18s,background .18s}
.overview-links .overview-orders,.overview-links .overview-deliveries{background:#fff;color:#19334f}
.overview-links .overview-symbol{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:13px;background:#edf3fd;color:#245da4}
.overview-links .overview-deliveries .overview-symbol{background:#edf6f2;color:#287561}
.overview-links .overview-symbol .icon{width:26px;height:26px;margin:0;stroke-width:1.5}
.overview-links .overview-copy{min-width:0;flex:1}
.overview-links .overview-copy span{display:block;font-size:18px;font-weight:600;line-height:1.35;color:#3d5067}
.overview-links .overview-copy strong{display:block;min-width:0;height:auto;padding:0;margin-top:8px;background:transparent;border-radius:0;font-size:38px;line-height:1;font-weight:600;letter-spacing:-1px;color:#19334f}
.overview-links .overview-arrow{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e1e8f0;border-radius:50%;color:#526c89}
.overview-links .overview-arrow .icon{width:18px;height:18px;margin:0;stroke-width:1.7}
.overview-links .overview-orders:hover{background:#fbfdff;border-color:#9eb9dc;box-shadow:0 6px 18px #173b680b;outline:0}
.overview-links .overview-deliveries:hover{background:#fbfefc;border-color:#a3c8ba;box-shadow:0 6px 18px #173b680b;outline:0}
@media(max-width:1100px){.overview-links a{padding:22px 18px;gap:14px}.overview-links .overview-symbol{width:46px;height:46px}.overview-links .overview-copy span{font-size:17px}}
@media(max-width:700px){.overview-links a{min-height:126px;padding:22px 20px;gap:16px}.overview-links .overview-copy span{font-size:18px}.overview-links .overview-copy strong{font-size:34px}}
@media(prefers-reduced-motion:reduce){.overview-links a{transition:none}}

.catalog-layout>.basin-calculate{grid-column:1/-1;justify-self:start;margin-bottom:0}
@media(max-width:700px){.catalog-layout>.basin-calculate{width:100%;font-size:20px;padding:18px 16px;gap:10px}}

.catalog-layout>.basin-calculate{background:#f4f8fe;border:1px solid #c7d8ed;border-radius:11px;color:#234f83;min-height:62px;padding:17px 22px;font-size:20px;font-weight:600;gap:14px;box-shadow:0 2px 6px #173b6804}
.catalog-layout>.basin-calculate .icon{width:22px;height:22px;stroke-width:1.5;color:#4975a7}
.catalog-layout>.basin-calculate .icon:last-child{width:19px;height:19px;margin-left:12px}
.catalog-layout>.basin-calculate:hover{background:#eaf2fc;border-color:#9fbcdc;color:#173f70}
@media(max-width:700px){.catalog-layout>.basin-calculate{font-size:18px;padding:17px 16px;gap:10px}.catalog-layout>.basin-calculate .icon:last-child{margin-left:auto}}

/* Catalogue et calendrier intégré aux commandes */
.product-card .product-visual{background:var(--rail)}
.order-delivery-calendar{padding:24px;margin-bottom:30px}.delivery-calendar-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.delivery-calendar-header h2{margin:0;font-size:21px}.delivery-calendar-header p{margin:6px 0 0;color:var(--muted)}.month-controls{display:flex;align-items:center;gap:14px}.month-controls strong{min-width:145px;text-align:center;text-transform:capitalize}.month-controls button{font-size:24px;padding:2px 13px}.delivery-calendar-scroll{overflow-x:auto}.delivery-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:630px;gap:1px;background:#e1e8ef;border:1px solid #e1e8ef;border-radius:10px;overflow:hidden}.weekday{background:#f4f7fa;padding:12px;text-align:center;font-size:14px;font-weight:600}.delivery-day{min-height:100px;padding:9px;background:white}.delivery-day.outside{background:#f7f9fb}.day-number{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center;font-size:14px}.is-today .day-number{background:#112a43;color:white;border-radius:50%}.delivery-event{display:flex;flex-direction:column;gap:4px;background:#e7f3ef;color:#1c6150;padding:8px;border-radius:6px;margin-top:5px;font-size:13px}.delivery-event span{font-size:11px}.calendar-empty{margin:16px 0 0;color:var(--muted);font-size:14px}.order-list-title{font-size:21px;margin-bottom:16px}@media(max-width:700px){.order-delivery-calendar{padding:16px}.delivery-calendar-header{align-items:flex-start;flex-direction:column}.month-controls{width:100%;justify-content:space-between}}

.delivery-event.requested{background:#fff3d9;color:#805600}.delivery-event.confirmed{background:#e7effc;color:#194f9c}.delivery-event.delivered{background:#e7f3ef;color:#1c6150}.delivery-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px;font-size:13px}.delivery-legend span{display:inline-flex;align-items:center;gap:6px}.delivery-legend span:before{content:"";width:8px;height:8px;border-radius:50%;background:#218269}.delivery-legend .requested:before{background:#c88b18}.delivery-legend .confirmed:before{background:#2868c5}
.sidebar .nav-group[aria-label="Votre espace"] .nav-link{background:#fff;color:#1c5fbb;border:1px solid #e4ebf5;margin-bottom:9px;box-shadow:0 2px 5px #0000000d}
.sidebar .nav-group[aria-label="Votre espace"] .nav-link:hover{background:#f1f6ff;color:#144a94;border-color:#abc8ee}
.sidebar .nav-group[aria-label="Votre espace"] .nav-link.active{background:#fff;color:#174f9d;font-weight:750;border-color:#82b3f4;box-shadow:inset 4px 0 0 #2267c7,0 2px 5px #0000000d}
.sidebar .nav-group[aria-label="Votre espace"] .nav-link:focus-visible{outline:3px solid #8fc1ff;outline-offset:3px}

/* Actions du compte : dimensions identiques */
.page-heading .actions:has(.account-password){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.page-heading .actions:has(.account-password)>button{width:100%;min-width:250px;min-height:52px;padding:14px 20px;font-size:16px;line-height:22px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
@media(max-width:1100px){.page-heading .actions:has(.account-password){grid-template-columns:1fr}.page-heading .actions:has(.account-password)>button{min-width:0}}
@media(max-width:700px){.page-heading .actions:has(.account-password){width:100%}.page-heading .actions:has(.account-password)>button{font-size:15px;min-height:52px;padding:14px 16px}}

.contact-card .contact-phone{display:block;min-height:0;padding:0;margin-top:12px;border:0;border-radius:0;background:transparent;color:#e4efff;font-size:13px;font-weight:400;text-align:center;text-decoration:none;box-shadow:none}
.contact-card .contact-phone:hover{background:transparent;text-decoration:underline}.contact-card .contact-phone svg{display:none}

.contact-card,.contact-card .contact-label,.contact-card .contact-name,.contact-card .contact-phone,.contact-card .contact-email{text-align:left}

.sidebar .nav-group[aria-label="Votre espace"] .nav-link,
.sidebar .nav-group[aria-label="Votre espace"] .nav-link:hover,
.sidebar .nav-group[aria-label="Votre espace"] .nav-link.active{background:var(--rail);border:1px solid #cbd9e9;color:#cbd9e9;font-weight:700;box-shadow:none}

.sidebar .nav-group[aria-label="Votre espace"] .nav-link{justify-content:flex-start;text-align:left}

.contact-card .contact-label,.contact-card .contact-name,.contact-card .contact-phone,.contact-card .contact-email{font-weight:400;line-height:1.35;margin-top:0;margin-bottom:4px}
.contact-card .contact-email{margin-bottom:0}

.sidebar .nav-group[aria-label="Votre espace"] .nav-link{position:relative}
.sidebar .nav-group[aria-label="Votre espace"] .nav-link.active::before{content:"";position:absolute;top:-1px;left:-1px;width:calc(100% + 2px);height:4px;border-radius:7px 7px 0 0;background:#3985ed;pointer-events:none}

.topbar .breadcrumb{display:block;min-width:0;flex:1;color:var(--ink)}.topbar .breadcrumb h1{margin:0;font-size:25px;font-weight:600;line-height:1.2;letter-spacing:-.4px}.page-heading:has(>.actions:only-child){justify-content:flex-end}
@media(max-width:700px){.topbar .mobile-brand{display:none}.topbar .breadcrumb h1{font-size:18px;letter-spacing:0}.topbar>.row{gap:6px}.topbar .user-avatar{display:none}}

.contact-card .contact-label,.contact-card .contact-name,.contact-card .contact-phone,.contact-card .contact-email{font-family:inherit;font-size:11px;font-weight:400;line-height:1.35}

/* Calendrier plus compact, sans réduire la taille du texte. */
.order-delivery-calendar{width:100%;max-width:960px;box-sizing:border-box}
.order-delivery-calendar .delivery-day{min-height:70px;padding:6px}
.order-delivery-calendar .weekday{padding:8px}
.order-delivery-calendar .delivery-event{padding:6px;gap:3px;margin-top:3px}

.overview-links{width:100%;max-width:960px;gap:16px;margin-bottom:24px}
.overview-links a{min-height:104px;padding:16px 20px;gap:14px}
.overview-links .overview-symbol{width:42px;height:42px;border-radius:10px}
.overview-links .overview-symbol .icon{width:23px;height:23px}
.overview-links .overview-copy span{font-size:17px}
.overview-links .overview-copy strong{font-size:30px;margin-top:5px}
.overview-links .overview-arrow{width:30px;height:30px}
@media(max-width:700px){.overview-links{gap:10px}.overview-links a{min-height:94px;padding:14px 16px}.overview-links .overview-copy span{font-size:16px}}

.overview-links .overview-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}
.overview-links .overview-copy span{white-space:nowrap}
.overview-links .overview-copy strong{margin-top:0;flex-shrink:0}
@media(max-width:420px){.overview-links a{gap:10px;padding:14px 12px}.overview-links .overview-symbol{width:32px;height:32px}.overview-links .overview-arrow{width:24px;height:24px}.overview-links .overview-copy{gap:8px}.overview-links .overview-copy span{font-size:15px}.overview-links .overview-copy strong{font-size:26px}}

.overview-links:has(.overview-command){max-width:none;grid-template-columns:minmax(180px,.7fr) repeat(2,minmax(0,1fr))}
.overview-links .overview-command{background:#fff;color:#19334f}
.main:has(>.overview-links){padding-top:0}
.catalog-layout>.basin-calculate,.catalog-layout>.basin-calculate:hover{background:var(--rail);border:1px solid #cbd9e9;color:#cbd9e9;border-radius:7px;box-shadow:none}
.catalog-layout>.basin-calculate .icon{color:inherit}
@media(max-width:1250px){.overview-links:has(.overview-command){grid-template-columns:1fr}.overview-links .overview-copy{justify-content:flex-start}}

.topbar{background:#4a83bd;border-bottom-color:#4a83bd;color:#fff}
.topbar .breadcrumb,.topbar .breadcrumb h1,.topbar .user-info,.topbar .user-info strong,.topbar .user-info small,.topbar .ghost{color:#fff}
.topbar .user-avatar{background:#ffffff26;color:#fff}.topbar .ghost:hover{background:#ffffff1f;color:#fff}

.invoice-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:500px){.invoice-metrics{grid-template-columns:1fr}}

.overview-links:has(.overview-command){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(180px,.7fr)}
.overview-links .overview-command{background:#1458bd;border-color:#1458bd;color:#fff}
.overview-links .overview-command .overview-copy span{color:#fff}
.overview-links .overview-command .overview-symbol{background:#ffffff1f;color:#fff}
.overview-links .overview-command .overview-arrow{border-color:#ffffff55;color:#fff}
.overview-links .overview-command:hover{background:#10499e;border-color:#10499e;outline:0}
@media(max-width:1250px){.overview-links:has(.overview-command){grid-template-columns:1fr}}

.order-delivery-date{white-space:nowrap}.order-delivery-date+.order-delivery-date{margin-top:10px}.record-table .order-delivery-date small{margin-top:2px}

.catalog-cart-column{display:flex;flex-direction:column;gap:16px;min-width:0;align-self:start}
.catalog-cart-column>.basin-calculate{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:60px;margin:0;padding:14px 12px;background:#1458bd;border:1px solid #1458bd;border-radius:7px;color:#fff;font-size:17px;font-weight:600;line-height:1.3;box-shadow:none}
.catalog-cart-column>.basin-calculate:hover{background:#10499e;border-color:#10499e;color:#fff}
.catalog-cart-column>.basin-calculate .icon{width:20px;height:20px;flex-shrink:0;color:inherit}
.catalog-cart-column>.basin-calculate .icon:last-child{margin:0}

/* Hauteur commune aux raccourcis et au bandeau des dernières commandes. */
.main:has(>.overview-links){--home-band-height:64px}
.overview-links>a{height:var(--home-band-height,64px);min-height:var(--home-band-height,64px);box-sizing:border-box;padding:10px 16px}
.main:has(>.overview-links)>.panel>.panel-head{height:var(--home-band-height);min-height:var(--home-band-height);box-sizing:border-box;padding:0 23px;margin:0}

.commercial-head{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:32px}.commercial-head-left,.commercial-head-right{min-width:0;flex:1}.commercial-head-left img{width:140px;height:auto}.commercial-head p{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.commercial-head .commercial-company{font-weight:700;font-size:14px;margin-top:8px}.commercial-head .commercial-contact{font-weight:600;margin-top:8px}.commercial-head-right{text-align:right}.commercial-head-right h1{font-size:21px;text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px}.commercial-head-right>strong{font-size:14px}.commercial-footer{margin-top:32px;padding-top:12px;border-top:1px solid #ccc;text-align:center;font-size:11px;color:#555;line-height:1.5;overflow-wrap:anywhere}@media(max-width:600px){.commercial-head{flex-direction:column;gap:20px}.commercial-head-right{text-align:left}}@media print{.commercial-head{flex-direction:row;gap:24px}.commercial-head-right{text-align:right}.commercial-footer{font-size:8px;break-inside:avoid}}

.invoice-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0;padding:18px 0;background:#f3f6fa;border:1px solid #e1e7ef;border-radius:8px;break-inside:avoid}
.invoice-dates>div{padding:0 16px;border-right:1px solid #dce4ed}.invoice-dates>div:last-child{border-right:0}
.invoice-dates dt{font-size:12px;color:#52667d;line-height:1.4;margin-bottom:6px}.invoice-dates dd{margin:0;font-size:15px;font-weight:600;color:#19334f;line-height:1.4}
@media(max-width:750px){.invoice-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.invoice-dates>div:nth-child(2){border-right:0}}
@media print{.invoice-dates{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;gap:0}.invoice-dates dt{font-size:9px}.invoice-dates dd{font-size:11px}}

.order-review{max-width:1040px;margin:auto}.order-review-actions{justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.order-review .two-col{margin:20px 0}.order-thanks{max-width:760px;margin:24px auto;text-align:center;padding:44px 28px}.order-thanks h2{font-size:28px;margin:18px 0 10px}.order-thanks p{font-size:20px}.order-thanks .actions{justify-content:center;margin-top:28px;gap:14px}.order-thanks-icon{display:grid;place-items:center;width:64px;height:64px;margin:auto;border-radius:50%;background:#e7f3ef;color:#1c765a}.order-thanks-icon .icon{width:34px;height:34px}@media(max-width:600px){.order-thanks{padding:28px 18px}.order-thanks .actions>a{width:100%;justify-content:center}.order-review-actions>button{flex:1}}

/* Espace de gestion MCP */
.admin-portal .contact-card{display:none}.admin-brand-label{color:#91afd0;font-size:10px;letter-spacing:.15em;margin:0 26px 18px}.admin-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 24px;padding:26px 30px;background:#102741;border:1px solid #274463;border-radius:14px;color:white}.admin-intro .eyebrow{color:#a6c8ef;margin-bottom:10px}.admin-intro h2{font-size:25px;line-height:1.3;color:white;margin:0 0 10px;max-width:660px}.admin-intro p{color:#cad8e8;margin:0;font-size:14px}.admin-intro .button{white-space:nowrap;background:#347fdd}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.admin-stat{display:grid;grid-template-columns:1fr auto;gap:10px;padding:22px;background:white;border:1px solid #dce4ee;border-radius:12px;color:#102741;text-decoration:none}.admin-stat:hover{border-color:#347fdd;box-shadow:0 5px 20px #1027410d}.admin-stat-icon{grid-column:2;grid-row:1/3;color:#347fdd}.admin-stat-label{font-size:14px;font-weight:600}.admin-stat strong{font-size:32px;line-height:1.1}.admin-stat small{grid-column:1/-1;font-size:12px;color:#63768c}.admin-orders .panel-head{gap:18px}.admin-orders .panel-head p{margin:7px 0 0;color:#63768c;font-size:13px}.admin-orders .small{white-space:nowrap}.admin-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.admin-bottom-grid h2{font-size:17px}.admin-bottom-grid .spread{gap:15px}.admin-bottom-grid .spread a{font-size:12px;white-space:nowrap}.admin-delivery-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #e6ecf3;color:#102741;text-decoration:none}.admin-delivery-row>span:not(.admin-delivery-date){flex:1;min-width:0}.admin-delivery-row small{display:block;color:#63768c;margin-top:4px;font-size:12px}.admin-delivery-date{font-size:12px;font-weight:600;color:#2966ac}.admin-invoice-link{display:flex;align-items:center;gap:10px;padding:16px;background:#f2f6fb;border-radius:8px;font-weight:600;font-size:13px}.admin-portal .nav-link[href="#admin/companies"]{white-space:nowrap}
@media(max-width:1150px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-intro{align-items:flex-start;flex-direction:column}.admin-bottom-grid{grid-template-columns:1fr}}
@media(max-width:600px){.admin-intro{padding:22px}.admin-intro h2{font-size:21px}.admin-stats{gap:10px}.admin-stat{padding:16px;grid-template-columns:1fr}.admin-stat-icon{display:none}.admin-stat-label{font-size:12px}.admin-stat small{font-size:11px}.admin-orders .panel-head{align-items:flex-start;flex-direction:column}.admin-delivery-row{gap:10px}}

.record-table .delivery-overdue{display:block;color:#a53d22;font-size:12px;font-weight:600;margin-top:7px;line-height:1.4}.delivery-overdue-notice{background:#fff3eb;border-left:3px solid #bd5c32;color:#7a321d;margin-bottom:22px}.delivery-overdue-notice p{margin:5px 0 0}.delivery-overdue-notice a{color:inherit;font-weight:600}

.company-section-title{grid-column:1/-1;font-size:15px;margin:14px 0 0;padding-top:18px;border-top:1px solid #e1e7ef;color:#102741}

.mail-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:22px 0;border-top:1px solid #e3e9f1;margin-top:18px}

.public-home-return{display:inline-flex;align-items:center;gap:8px;width:auto;margin:0 0 20px;font-size:13px;white-space:nowrap}.public-home-return span{font-size:18px}.auth-inner>.public-home-return{margin-bottom:24px}

/* Espacement du tableau de bord sous le bandeau. */
.main:has(>.overview-links){padding-top:28px}
@media(max-width:700px){.main:has(>.overview-links){padding-top:20px}}
