:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;color:#162330;background:#f3f5f7;--nav:#0c1118;--muted:#637383;--line:#dfe6ed;--blue:#a7d7fb;--amber:#dfa15d;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.75rem,3vw,2.35rem);letter-spacing:-.045em;line-height:1.2;font-weight:650}h2{font-size:1.2rem;letter-spacing:-.025em}h3{font-size:1.05rem;line-height:1.4}p{line-height:1.6}small{font-size:.8rem;color:var(--muted)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #75b7e8;outline-offset:3px}.skip{position:fixed;left:1rem;top:-4rem;z-index:99;background:white;padding:1rem}.skip:focus{top:1rem}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.brand{width:164px;height:46px;overflow:hidden}.eyebrow{display:block;font-size:.75rem;letter-spacing:.17em;font-weight:600;color:#768b9d;margin-bottom:12px}.muted{color:var(--muted)}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid #cdd8e2;border-radius:8px;padding:11px 16px;min-height:44px;background:white;font-size:.9rem;font-weight:550;text-decoration:none;transition:background .15s}.button:hover{background:#eaf0f6}.button.primary{background:#172b3c;color:white;border-color:#172b3c}.button.primary:hover{background:#284960}.button.blue{background:#b7ddfa;border-color:#b7ddfa;color:#172b3c}.button.ghost{background:transparent;border-color:transparent;color:#42647e}.button.danger{color:#a03939;border-color:#edc5c5}.button.small{padding:8px 12px;min-height:38px;font-size:.82rem}.icon-btn{display:inline-grid;place-items:center;padding:10px;border:0;border-radius:8px;background:transparent}.icon-btn:hover{background:#e7eef5}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.flex1{flex:1;min-width:0}.mb{margin-bottom:20px}.mt{margin-top:22px}.hidden,[hidden]{display:none!important}label{display:flex;flex-direction:column;gap:8px;font-size:.88rem;font-weight:550;color:#3f586b;margin-bottom:18px}input,select,textarea{border:1px solid #cbd7e1;border-radius:8px;padding:11px 12px;width:100%;background:white;color:#1b2d3d;min-width:0}textarea{resize:vertical;min-height:100px;line-height:1.6}input[type=checkbox]{width:20px;height:20px;accent-color:#275f83}label small{font-weight:400}form .form-error{color:#a13232;line-height:1.5;margin-bottom:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notice{padding:16px 18px;border-radius:10px;border:1px solid #cbdff0;background:#eef6fc;color:#466980;font-size:.9rem;line-height:1.6}.notice.error{background:#fff3f2;border-color:#ebcbca;color:#953a38}.notice.success{background:#edf6ef;color:#376b48;border-color:#c5decd}.notice.amber{background:#fff7e9;border-color:#eddbb9;color:#876431}.loading-screen{min-height:100vh;display:grid;align-content:center;justify-content:center;padding:24px;gap:8px}.auth{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-brand{background:#0c151f;color:white;padding:64px clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;height:100%;width:200px;right:-90px;top:0;border-left:1px solid #96c7ef25;transform:skew(-25deg);background:linear-gradient(90deg,#99c4e909,transparent);pointer-events:none}.auth-brand h1{font-size:clamp(2.5rem,4.5vw,4.3rem);letter-spacing:-.055em;max-width:510px;line-height:1.08}.auth-brand h1 span{color:#aed5f1}.auth-brand p{color:#98acbd;margin-top:24px;max-width:390px}.auth-brand footer{color:#657e94;font-size:.78rem;letter-spacing:.15em}.auth-content{display:grid;align-content:center;justify-content:center;padding:48px 32px;background:#fbfcfd}.auth-card{max-width:400px;width:100%}.auth-card h2{font-size:1.7rem;margin-bottom:12px}.auth-card>p{margin-bottom:30px;color:var(--muted);font-size:.92rem}.auth-card form>.button{width:100%}.auth-card .support-help{font-size:.82rem;margin-top:20px}.setup-body{display:grid;min-height:100vh;place-items:center;padding:30px}.setup-card{max-width:550px;width:100%;padding:38px;background:white;border:1px solid var(--line);border-radius:18px}.setup-card>p{margin:18px 0}.shell{min-height:100vh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#a8b6c6;padding:36px 20px 20px;display:flex;flex-direction:column;z-index:40}.brand-group{padding:0 13px 34px}.brand-group .eyebrow{font-size:.69rem;color:#768a9d;margin:16px 0 0}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-btn{border:0;background:transparent;color:#9daebf;display:flex;gap:13px;align-items:center;padding:14px;border-radius:8px;text-align:left;font-size:.9rem}.nav-btn:hover{color:white;background:#ffffff07}.nav-btn.active{background:linear-gradient(100deg,#25394c,#1a2835);color:#c5e5fd;box-shadow:inset 2px 0 #a7d7fb}.nav-count{margin-left:auto;background:#dfa15d30;color:#f3c38c;padding:2px 6px;border-radius:5px;font-size:.75rem}.sidebar-bottom{margin-top:auto;padding-top:30px}.side-support{border:1px solid #ffffff15;border-radius:10px;padding:14px;font-size:.85rem;margin-bottom:25px}.side-support p{font-size:.77rem;color:#8da1b4;margin-top:7px}.availability{display:flex;align-items:center;gap:8px}.dot{width:8px;height:8px;border-radius:50%;background:#93a1ad;display:inline-block;flex:none}.dot.online{background:#65c78e;box-shadow:0 0 0 3px #65c78e18}.profile{display:flex;gap:11px;align-items:center;padding-top:18px;border-top:1px solid #ffffff13}.avatar{background:#26394c;color:#c6e0f5;display:grid;place-items:center;border-radius:10px;width:37px;height:37px;font-size:.78rem;flex:none}.profile strong{font-size:.85rem;color:#e1e7ed;display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small{color:#7e94a8;font-size:.72rem}.sidebar .icon-btn{color:#8fa6bb;padding:7px}.sidebar .icon-btn:hover{background:#ffffff0b}.workspace{margin-left:244px;min-height:100vh}.topbar{height:78px;background:#fbfcfdf5;border-bottom:1px solid var(--line);padding:0 38px;display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:20}.breadcrumb{font-size:.86rem;color:#78899a;display:flex;gap:14px;align-items:center}.breadcrumb strong{color:#29455b;font-weight:550}.top-date{font-size:.8rem;color:#7b8c9a}.mobile-menu{display:none}.content{padding:36px 38px 48px;max-width:1530px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:28px}.heading p{color:var(--muted);font-size:.94rem;margin-top:11px}.heading .actions{padding-top:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:left}.metric>span{font-size:.83rem;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:10px}.metric strong{display:block;font-size:2.1rem;font-weight:600;letter-spacing:-.04em;margin-top:12px}.metric small{font-size:.75rem}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;min-width:0}.hero{background:#132636;border-color:#132636;color:white;position:relative;overflow:hidden;padding:30px}.hero .eyebrow{color:#8dbadc}.hero h2{font-size:1.8rem;letter-spacing:-.04em;max-width:470px}.hero p{color:#a9bdcf;max-width:480px;margin:14px 0 20px;font-size:.9rem}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section{margin-top:30px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-card{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;text-align:left;min-width:0;transition:transform .15s,border-color .15s}.project-card:hover{transform:translateY(-2px);border-color:#8aacc6}.project-mark{height:54px;width:54px;background:#eaf1f6;color:#688aa4;border-radius:12px;display:grid;place-items:center;margin-bottom:19px}.project-card .row{align-items:flex-start;margin-bottom:12px}.project-card h3{margin:12px 0 18px;overflow-wrap:anywhere}.project-foot{display:flex;justify-content:space-between;gap:10px;padding-top:15px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}.pill{display:inline-flex;padding:5px 8px;border-radius:6px;font-size:.76rem;line-height:1.3;background:#edf0f5;color:#697b8b;font-weight:550;white-space:nowrap}.pill.review{background:#e6f1fb;color:#2f6c98}.pill.production{background:#eaeef9;color:#576ca0}.pill.changes,.pill.requested,.pill.materials{background:#fcf0dc;color:#946b2e}.pill.approved,.pill.delivered{background:#e7f2ea;color:#427651}.empty{padding:38px 24px;border:1px dashed #c6d6e3;border-radius:13px;text-align:center;background:#ffffff80;color:#718798;grid-column:1/-1}.empty .icon{width:32px;height:32px;margin:0 auto 14px;color:#88a5bc}.empty h3{color:#3c576c;margin-bottom:10px}.empty p{font-size:.9rem;max-width:440px;margin:auto}.empty .button{margin-top:20px}.toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.search{max-width:340px;flex:1;min-width:190px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{border:1px solid #d2dde6;background:transparent;color:#61798c;border-radius:7px;min-height:39px;padding:8px 11px;font-size:.83rem}.filter.active{border-color:#9cbcd5;background:#e6f0f8;color:#315874}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;text-align:left;min-width:610px;background:white}th{background:#f8fafc;color:#7b8e9e;font-size:.74rem;letter-spacing:.04em;font-weight:600;padding:15px 19px;border-bottom:1px solid var(--line)}td{padding:18px 19px;border-bottom:1px solid #e9eef3;font-size:.87rem}tr:last-child td{border-bottom:0}td strong{display:block;font-size:.9rem}td small{display:block;margin-top:5px}.client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.client-card h2{margin-top:12px}.client-card .client-email{margin:8px 0 20px;overflow-wrap:anywhere;font-size:.86rem;color:var(--muted)}.package-price{font-size:1.8rem;font-weight:600;letter-spacing:-.035em}.service-line{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #e8eef3}.service-line:last-child{border:0}.service-qty{background:#edf3f8;border-radius:10px;padding:10px 13px;font-size:1.15rem;min-width:48px;text-align:center;color:#3b627f}.service-line strong{font-size:.91rem}.service-line small{display:block;margin-top:5px}.service-edit{display:grid;grid-template-columns:minmax(120px,2fr) 80px minmax(100px,1fr) 38px;gap:10px;align-items:end;margin-bottom:12px}.service-edit label{margin:0;font-size:.75rem}.service-edit input,.service-edit select{padding:10px 8px;font-size:.88rem}.detail-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}.detail-title h1{font-size:2rem}.detail-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:13px;color:var(--muted);font-size:.85rem}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.detail-grid .card{margin-bottom:20px}.file-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.file-row{display:flex;gap:12px;align-items:center;border:1px solid #e0e8ef;border-radius:9px;padding:13px;color:#66839a}.file-row strong{color:#38556b;font-size:.86rem;display:block;overflow-wrap:anywhere}.file-row small{font-size:.74rem;display:block;margin-top:5px}.file-row .button{padding:7px 10px;min-height:37px}.version{border:1px solid #d5e3ed;border-radius:10px;padding:18px;margin-top:15px}.version h3{font-size:.97rem}.version p{font-size:.86rem;color:var(--muted);margin:12px 0}.timeline{margin-top:15px}.event{padding:14px 0;border-bottom:1px solid #e9eef3}.event:last-child{border:0}.event .row{font-size:.75rem;color:#7a8c9b;margin-bottom:7px;flex-wrap:wrap}.event .row strong{font-weight:550;color:#4b6b82}.event p{font-size:.85rem;color:#5b7386}.steps{display:flex;gap:8px;margin-bottom:23px;flex-wrap:wrap}.step{font-size:.77rem;background:#e8edf2;color:#768796;padding:8px 10px;border-radius:6px}.step.current{background:#203e55;color:white}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.day{background:white;border:1px solid var(--line);border-radius:10px;padding:12px;min-height:230px;min-width:0}.day header{color:#75899a;font-size:.77rem;margin-bottom:17px}.day header strong{display:block;font-size:1.5rem;color:#38566e;margin-top:7px;font-weight:550}.day.today{border-color:#84afd0;background:#fafdff}.cal-project{display:block;width:100%;border:1px solid #d7e5ef;background:#edf5fb;padding:10px;border-radius:7px;font-size:.78rem;text-align:left;margin-bottom:8px;overflow-wrap:anywhere;line-height:1.5}.cal-project small{display:block;margin-top:7px;font-size:.7rem}.chat-layout{display:grid;grid-template-columns:265px minmax(0,1fr);height:calc(100dvh - 228px);min-height:480px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.chat-threads{border-right:1px solid var(--line);background:#f8fafc;overflow:auto;padding:12px}.chat-thread{width:100%;border:1px solid transparent;background:transparent;display:block;text-align:left;border-radius:9px;padding:15px;margin-bottom:6px}.chat-thread.active{background:#e4eff8;border-color:#c2d9ec}.chat-thread:hover{background:#eaf0f5}.chat-thread strong{font-size:.89rem}.chat-thread small{display:block;margin-top:8px;font-size:.77rem}.chat-panel{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{padding:19px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-header h2{font-size:1rem}.chat-header small{display:block;margin-top:5px}.chat-history{flex:1;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;min-height:0;background:#fcfdff}.chat-message{max-width:80%;align-self:flex-start;border:1px solid #e0e7ef;border-radius:12px 12px 12px 3px;background:#fff;padding:13px 16px}.chat-message.mine{align-self:flex-end;background:#e9f3fb;border-color:#d2e4f2;border-radius:12px 12px 3px 12px}.chat-message strong{font-size:.75rem;color:#66849b;display:block;margin-bottom:6px}.chat-message p{font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message small{display:block;margin-top:7px;font-size:.7rem;text-align:right}.chat-compose{border-top:1px solid var(--line);padding:16px 20px;display:flex;align-items:flex-end;gap:12px}.chat-compose textarea{min-height:48px;max-height:130px;height:48px;font-size:.9rem}.chat-compose .button{flex:none}.chat-notice{padding:10px 20px;background:#fff7e9;color:#856430;font-size:.8rem;border-top:1px solid #f0e4cc}.chat-empty{margin:auto;text-align:center;padding:35px;color:var(--muted)}.support-toggle{display:flex;align-items:center;gap:12px;margin:0;font-size:.87rem}.support-toggle input{width:40px;height:22px}.floating-chat{position:fixed;bottom:23px;right:24px;box-shadow:0 6px 25px #17314730;z-index:24;background:#172b3c;color:white;border:1px solid #395b77;border-radius:13px;padding:14px 18px;display:flex;align-items:center;gap:10px;font-size:.85rem}.footer{color:#899baa;font-size:.74rem;margin:0 38px;padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}dialog{padding:0;border:1px solid #cfdae4;border-radius:16px;box-shadow:0 20px 80px #0c223746;width:min(670px,calc(100% - 28px));max-height:90dvh;color:#1a3041}dialog::backdrop{background:#0a192b99;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-header h2{font-size:1.2rem}.modal-header p{font-size:.86rem;color:var(--muted);margin-top:8px}.modal-body{padding:24px 28px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}#toasts{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;z-index:100;display:flex;flex-direction:column;gap:9px}.toast{border:1px solid #456780;background:#183248;color:white;padding:14px 21px;border-radius:10px;box-shadow:0 8px 30px #0002;font-size:.88rem}.toast.error{background:#783c3c;border-color:#a76666}.upload-status{color:#5b7e99;font-size:.84rem;margin-top:12px}.wordmark-line{height:2px;width:40px;background:linear-gradient(90deg,#a7d7fb,#dfa15d);margin:26px 0}.access-link{overflow-wrap:anywhere;user-select:all;background:#f3f6f9;padding:15px;border-radius:8px;font-family:monospace;font-size:.85rem}.menu-shade{display:none}
@media(min-width:1500px){.content{padding-top:44px}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.content{padding:28px 25px}.topbar{padding:0 25px}.metrics{gap:12px}.metric{padding:17px}.split{grid-template-columns:1fr}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.chat-layout{grid-template-columns:220px minmax(0,1fr)}.service-edit{grid-template-columns:minmax(110px,2fr) 70px minmax(100px,1fr) 38px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);transition:transform .2s}.menu-open .sidebar{transform:none}.menu-open .menu-shade{display:block;position:fixed;inset:0;background:#0a192b88;z-index:35;border:0}.workspace{margin:0}.mobile-menu{display:inline-grid}.topbar{height:68px;padding:0 18px}.breadcrumb{gap:8px}.top-date{display:none}.content{padding:27px 20px 40px}.heading{flex-direction:column;gap:12px}.heading .actions{padding:0}.metrics{grid-template-columns:repeat(2,1fr)}.footer{margin:0 20px}.chat-layout{height:calc(100dvh - 275px);min-height:460px}.auth{grid-template-columns:1fr}.auth-brand{padding:28px;min-height:260px;gap:32px}.auth-brand h1{font-size:2.7rem}.auth-brand p,.auth-brand footer{display:none}.auth-content{padding:36px 24px;align-content:start}.client-grid{grid-template-columns:1fr}.floating-chat{bottom:18px;right:18px}.card{padding:20px}.detail-title{flex-direction:column}.chat-header{padding:16px}.chat-history{padding:16px}.chat-compose{padding:14px}.chat-threads{padding:8px}.calendar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.project-grid{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:15px}.metric>span{font-size:.76rem}.metric strong{font-size:1.8rem}.metric .icon{width:16px}.form-row{grid-template-columns:1fr;gap:0}.chat-layout{display:flex;flex-direction:column;height:calc(100dvh - 280px);min-height:490px}.chat-threads{display:flex;gap:6px;flex-shrink:0;max-height:85px;border-right:0;border-bottom:1px solid var(--line)}.chat-thread{min-width:150px;width:auto;padding:10px;margin:0}.chat-thread small{margin-top:4px}.chat-panel{flex:1}.chat-message{max-width:92%}.chat-compose{gap:8px}.chat-compose .button{padding:12px}.chat-send-label{display:none}.calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.day{min-height:160px}.service-edit{grid-template-columns:1fr 80px 38px;border-bottom:1px solid var(--line);padding-bottom:13px}.service-edit label:first-child{grid-column:1/3}.service-edit label:nth-child(3){grid-column:1/3}.service-edit .icon-btn{grid-column:3;grid-row:1}.modal-header,.modal-body{padding:20px}.footer span:last-child{display:none}.hero h2{font-size:1.5rem}.breadcrumb>span:first-child{display:none}.heading .button{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.chat-layout .chat-panel:only-child{grid-column:1/-1}
.support-toggle{flex-direction:row}
@media(max-width:540px){.chat-layout{height:calc(100dvh - 350px);min-height:400px}}
