@font-face{font-family:system;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f3f6f7;color:#172b35;font:16px system,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid #cbd7db;border-radius:9px;background:white;padding:.65rem .9rem;color:#19333f}button:hover{background:#edf3f5}button.primary{background:#087e82;border-color:#087e82;color:white}button.danger{color:#ac283b}button:disabled{opacity:.5;cursor:wait}a{color:#076c80}input,select,textarea{width:100%;border:1px solid #becdd3;border-radius:8px;padding:.65rem;background:white;color:#17323e}textarea{resize:vertical;min-height:90px}label{display:grid;gap:6px;font-size:.9rem;color:#405762}h1,h2,h3,p{margin-top:0}h1{font-size:1.6rem}h2{font-size:1.2rem}h3{font-size:1rem}small,.muted{font-size:.875rem;color:#5b707b}header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#12252e;color:white;gap:20px}.brand{font-size:1.35rem;font-weight:700;letter-spacing:-.7px}.brand span{color:#60d4c7}.role{font-size:.85rem;color:#b9d1d8}.top-actions{display:flex;gap:8px;align-items:center}header button{background:#243c47;border-color:#3b5360;color:white}.workspace{display:grid;grid-template-columns:345px minmax(0,1fr);height:calc(100dvh - 76px)}aside{background:white;border-right:1px solid #d5e0e4;display:flex;flex-direction:column;min-height:0}.sidebar-tools{padding:20px;display:grid;gap:12px;border-bottom:1px solid #dfe7ea}.tabs{display:flex;gap:8px}.tabs button{flex:1}.tabs .selected{background:#dff4f0;border-color:#8fc9bf;color:#096b60}.order-list{overflow-y:auto;flex:1}.order-card{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #e1e9ec;border-radius:0;padding:19px 20px}.order-card.selected{background:#e6f3f2;box-shadow:inset 4px 0 #087e82}.order-card h3{margin:8px 0;line-height:1.4}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.badge{font-size:.8rem;padding:4px 8px;background:#edf2f5;border-radius:6px;color:#445d6a;white-space:nowrap}.badge.working{background:#e1edfc;color:#235b9b}.badge.done{background:#dff2e9;color:#236847}.badge.review{background:#fdf0d6;color:#8a6013}.unread{background:#087e82;color:white;border-radius:20px;padding:2px 7px;font-size:.8rem}.detail{overflow:auto;padding:28px;min-width:0}.detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.detail-head h1{margin:8px 0}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.panel{background:white;border:1px solid #dce5e8;border-radius:14px;padding:20px;margin-bottom:18px;box-shadow:0 3px 10px #12334004}.private{border-top:3px solid #b38b50}.private-label{font-size:.8rem;color:#865e20;letter-spacing:.05em;text-transform:uppercase}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stack{display:grid;gap:16px}.span2{grid-column:1/-1}.money{font-size:1.6rem;font-weight:650;margin:8px 0}.brief{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.empty{display:grid;place-content:center;min-height:300px;text-align:center;padding:30px}.empty-symbol{width:68px;height:68px;background:#d9eeec;color:#087e82;border-radius:18px;margin:0 auto 20px;display:grid;place-items:center;font-size:28px}.chat{max-height:480px;min-height:150px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:10px 0 20px}.message{max-width:92%;padding:12px 15px;border-radius:12px;background:#f0f4f6;align-self:flex-start;overflow-wrap:anywhere}.message.mine{background:#e0f3ed;align-self:flex-end}.message p{white-space:pre-wrap;margin:8px 0 0;line-height:1.5}.message small{font-size:.8rem}.composer{display:grid;gap:10px;border-top:1px solid #e2e9ec;padding-top:15px}.dropzone{border:2px dashed #bcced5;border-radius:10px;padding:18px;text-align:center;color:#526c78;margin-top:15px}.dropzone.drag{background:#ddf4ef;border-color:#087e82}.file{border-bottom:1px solid #e4eaed;padding:13px 0}.file-name{overflow-wrap:anywhere;display:block;margin-bottom:7px}.file-actions{display:flex;flex-wrap:wrap;gap:6px}.file-actions button,.file-actions a{font-size:.85rem;padding:.4rem .55rem}.file img{max-width:100%;max-height:180px;border-radius:8px}.file video{max-width:100%;max-height:220px}.login{width:min(430px,calc(100% - 32px));margin:10vh auto;background:white;padding:34px;border:1px solid #dce5e8;border-radius:18px}.login .brand{margin-bottom:28px}.login h1{margin-bottom:10px}.loading{padding:40px}dialog{border:1px solid #c9d8dd;border-radius:16px;width:min(680px,calc(100% - 28px));padding:26px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#071e2a88}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{margin:0}.check{display:flex;align-items:center;gap:10px}.check input{width:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#122b37;color:white;border-radius:10px;padding:13px 20px;z-index:5;display:none;max-width:90vw}#toast.show{display:block}.error{color:#a92437;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.stat{background:#edf5f5;padding:18px;border-radius:12px}.stat strong{display:block;font-size:1.5rem;margin-bottom:8px}table{width:100%;border-collapse:collapse;font-size:.9rem}td,th{padding:10px 6px;border-bottom:1px solid #dce5e8;text-align:left}.viewer{width:100%;height:400px;background:#142731;touch-action:none;border-radius:12px}.mobile-back{display:none}.people{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media(max-width:1150px){.detail-grid{grid-template-columns:1fr}.workspace{grid-template-columns:300px minmax(0,1fr)}.side-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail{padding:20px}}@media(max-width:760px){header{height:auto;min-height:76px;padding:15px;flex-wrap:wrap}.top-actions{flex-wrap:wrap}.top-actions button{font-size:.85rem;padding:.45rem}.workspace{display:block;height:auto}aside{height:calc(100dvh - 120px)}.detail{display:none;padding:16px}body.open-order aside{display:none}body.open-order .detail{display:block}.mobile-back{display:inline-block}.detail-head{flex-wrap:wrap}.side-panels,.grid{grid-template-columns:1fr}.span2{grid-column:auto}.stats{grid-template-columns:1fr}.detail-grid{gap:0}.panel{padding:16px}.login{margin:6vh auto}.chat{max-height:55dvh}}
.timeline{min-height:250px}.chat-tabs,.msg-actions{display:flex;flex-wrap:wrap;gap:5px}.msg-actions button{padding:.3rem .45rem;font-size:.8rem}.bubble-file button{display:grid;gap:5px;max-width:100%;overflow-wrap:anywhere}.bubble-file img,.bubble-file video,.thumb{max-width:145px;max-height:110px;object-fit:contain}.full-media{max-width:100%;max-height:72vh}.modified{border-left:4px solid #b18413;background:#fff4ca!important}.removed{border-left:4px solid #be4053;background:#ffe1e4!important}.quote,.reply-bar{font-size:.86rem;color:#425963}.client-main{max-width:850px;margin:20px auto;padding:12px}.attach-button{cursor:pointer}.chat-tabs [aria-pressed=true]{background:#d5eee9}.composer output{overflow-wrap:anywhere}meter{width:100%;height:1.2rem}meter.green::-webkit-meter-optimum-value{background:#268859}meter.orange::-webkit-meter-optimum-value{background:#cf7b19}meter.red::-webkit-meter-optimum-value{background:#bb3c4a}
.timeline .message{position:relative;min-width:100px;padding:11px 37px 7px 13px;background:#eef0f2;align-self:flex-start;border-radius:14px 14px 14px 4px}.timeline .message.mine{align-self:flex-end;background:#dcf5df;border-radius:14px 14px 4px 14px}.msg-more{position:absolute;right:0;top:0;width:35px;height:40px;padding:0;border:0;background:transparent;color:#456258;font-size:23px;line-height:1}.msg-menu{position:fixed;inset:auto;margin:0;padding:4px;width:172px;border:1px solid #dbe4e4;border-radius:11px;background:white;box-shadow:0 7px 26px #17302829}.msg-menu button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;font-size:14px;padding:9px}.msg-menu button span{width:16px;text-align:center}.msg-menu [data-delete]{color:#b32e38}.msg-stamp{display:block;text-align:right;font-size:.72rem!important;margin:5px -23px 0 0}.msg-author{font-size:.82rem;font-weight:650;color:#287382}.msg-quote{font-size:.8rem;border-left:3px solid #488d80;padding-left:7px}.timeline .msg-text{margin:0;white-space:pre-wrap}.timeline{overflow-anchor:none}.msg-menu[hidden]{display:none}@media(max-width:760px){.msg-more{width:44px;height:44px}.timeline .message{padding-right:44px}.msg-menu button{min-height:44px}}
