:root{color-scheme:light;--blue:#0064e0;--blue-deep:#0457cb;--blue-soft:#edf5ff;--ink:#0a1317;--text:#1c1e21;--body:#444950;--steel:#5d6c7b;--muted:#5f6e7a;--line:#dee3e9;--canvas:#fff;--cloud:#f1f4f7;--success:#31a24c;--attention:#f2a918;--critical:#e41e3f;--radius-card:24px;--radius-tile:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html,body{min-width:320px;min-height:100%;margin:0}body{background:var(--canvas)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1876f255;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark{height:40px;width:40px;display:grid;place-items:center;border-radius:14px;background:var(--blue);color:#fff;font-size:20px;font-weight:800;letter-spacing:-1px}.brand-copy{display:grid;gap:2px}.brand-copy strong{font-size:11px;font-weight:800;letter-spacing:1.1px}.brand-copy>span{font-size:12px;color:var(--steel)}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--steel);font-size:10px;font-weight:750;letter-spacing:1.35px}.eyebrow-line{width:18px;height:2px;background:var(--blue)}
.auth-screen{min-height:100vh;padding:28px;display:grid;place-items:center;background:radial-gradient(ellipse at 80% 10%,#eaf3ff 0,transparent 34%),var(--cloud)}.auth-card{width:min(100%,460px);padding:36px;border:1px solid var(--line);border-radius:32px;background:#fff;box-shadow:0 20px 60px #0a13170c}.auth-card>.brand{margin-bottom:38px}.auth-card h1{margin:13px 0 11px;font-size:clamp(30px,6vw,39px);line-height:1.12;letter-spacing:-1.5px;font-weight:600;color:var(--ink)}.auth-copy{margin:0 0 25px;color:var(--body);font-size:14px;line-height:1.65}.stack-form{display:grid;gap:10px}.stack-form label{margin-top:7px;font-size:13px;font-weight:700;color:var(--ink)}.stack-form label span{float:right;color:var(--muted);font-size:11px;font-weight:400}.stack-form input,.stack-form select{width:100%;height:46px;padding:0 14px;border:1px solid #ced0d4;border-radius:9px;color:var(--ink);background:#fff}.button{min-height:44px;border:0;border-radius:100px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:700;transition:background .16s ease,transform .16s ease}.button:active{transform:scale(.98)}.button-primary{margin-top:10px;background:var(--blue);color:#fff}.button-primary:hover{background:var(--blue-deep)}.auth-footnote{margin:24px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.form-error{margin:4px 0 0;color:#b0172e;font-size:12px;line-height:1.5}.form-success{color:#227b3d}
.portal{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;min-height:520px;padding:23px 15px 14px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;z-index:20}.sidebar>.brand{padding:0 7px 25px}.button-new{width:100%;margin:1px 0 19px;justify-content:flex-start;background:var(--blue);color:#fff}.button-new:hover{background:var(--blue-deep)}.button-new span{font-size:19px;font-weight:400}.side-nav{display:grid;gap:4px;padding-bottom:17px;border-bottom:1px solid var(--line)}.nav-item{height:42px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--body);display:flex;align-items:center;gap:11px;text-align:left;font-size:13px}.nav-item>span{width:18px;text-align:center;color:var(--steel);font-size:17px}.nav-item:hover{background:var(--cloud)}.nav-item.is-active{background:var(--blue-soft);color:var(--blue-deep);font-weight:700}.nav-item.is-active>span{color:var(--blue)}.history-heading{padding:20px 9px 9px;display:flex;justify-content:space-between;align-items:center;color:var(--steel);font-size:9px;font-weight:800;letter-spacing:1.2px}.history-heading span+span{min-width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--cloud);color:var(--body);font-size:10px;letter-spacing:0}.chat-list{min-height:50px;overflow:auto;display:grid;align-content:start;gap:3px}.sidebar-empty{margin:9px;color:var(--muted);font-size:12px;line-height:1.5}.history-item{width:100%;height:39px;padding:0 10px;border:0;border-radius:10px;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;color:var(--body);font-size:12px}.history-item span:first-child{color:var(--muted);font-size:14px}.history-item .history-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.history-item:hover{background:var(--cloud)}.history-item.is-active{background:var(--blue-soft);color:var(--blue-deep);font-weight:700}.sidebar-foot{margin-top:auto;padding:14px 7px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:5px}.user-chip{min-width:0;display:flex;align-items:center;gap:9px}.avatar{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue-deep);font-size:13px;font-weight:800}.user-chip>span:last-child{min-width:0;display:grid;gap:2px}.user-chip strong{max-width:123px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.user-chip small{color:var(--steel);font-size:10px}.button-quiet{min-height:36px;padding:0 10px;background:transparent;color:var(--steel);font-size:11px}.button-quiet:hover{background:var(--cloud)}
.main-area{min-width:0;min-height:100vh;background:#fff}.view{min-height:100vh}.home-view{width:min(1120px,calc(100% - 88px));margin:0 auto;padding:30px 0 23px}.home-topline{display:flex;justify-content:space-between;align-items:center}.secure-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:100px;color:var(--steel);font-size:10px}.secure-dot{width:7px;height:7px;border-radius:50%;background:var(--success)}.welcome-grid{min-height:360px;margin-top:5px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:30px;border-bottom:1px solid var(--line)}.welcome-copy{max-width:620px;padding:35px 0}.welcome-kicker{margin-bottom:13px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:1.2px}.welcome-copy h1{margin:0 0 17px;color:var(--ink);font-size:clamp(36px,4.4vw,57px);line-height:1.13;letter-spacing:-2.25px;font-weight:550}.welcome-copy h1 span{color:var(--blue)}.lead{max-width:560px;margin:0 0 22px;color:var(--body);font-size:15px;line-height:1.7}.welcome-art{position:relative;min-height:305px;display:grid;place-items:center;overflow:hidden}.art-orbit{position:absolute;left:50%;top:47%;border:1px solid #dce8f8;border-radius:50%;transform:translate(-50%,-50%) rotate(-23deg)}.orbit-a{width:330px;height:190px}.orbit-b{width:260px;height:290px;transform:translate(-50%,-50%) rotate(53deg)}.art-center{position:relative;z-index:1;width:151px;height:151px;border:1px solid #e7edf5;border-radius:42px;background:#fff;box-shadow:0 18px 60px #0a131710;display:grid;place-items:center;align-content:center;gap:6px}.art-mark{color:var(--blue);font-size:55px;font-weight:800;line-height:1;letter-spacing:-5px}.art-center>span:last-child{color:var(--steel);font-size:8px;font-weight:750;letter-spacing:1.4px;text-align:center;line-height:1.55}.art-point{position:absolute;z-index:2;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:var(--blue);box-shadow:0 0 0 1px #c5daf8}.point-a{left:25%;top:36%}.point-b{right:24%;top:28%;background:#1c1e21}.point-c{right:30%;bottom:18%;width:9px;height:9px;background:#31a24c}.art-caption{position:absolute;bottom:10px;color:var(--steel);font-size:8px;font-weight:800;letter-spacing:1.4px}.art-caption i{padding:0 6px;color:var(--blue);font-style:normal}.notice{margin:17px 0 29px;padding:14px 17px;border:1px solid #d9e9ff;border-radius:16px;background:#f6faff;display:flex;align-items:flex-start;gap:11px}.notice-icon{flex:none;width:21px;height:21px;border-radius:50%;background:#e2efff;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800}.notice p{margin:0;color:var(--body);font-size:12px;line-height:1.6}.notice strong{color:var(--ink)}.section-head{margin-bottom:17px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.section-head h2{margin:7px 0 0;color:var(--ink);font-size:25px;font-weight:550;letter-spacing:-.7px}.section-note{padding-bottom:4px;color:var(--steel);font-size:11px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-card{min-height:187px;padding:18px 18px 15px;border:1px solid var(--line);border-radius:var(--radius-tile);background:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;color:inherit;transition:border-color .16s,box-shadow .16s,transform .16s}.module-card:is(button):hover{border-color:#abcdfc;box-shadow:0 9px 24px #0a13170a;transform:translateY(-2px)}.module-card:not(button){cursor:default}.module-icon{width:30px;height:30px;border-radius:10px;background:#f1f4f7;color:#1c1e21;display:grid;place-items:center;font-size:16px}.module-icon.blue-icon{background:var(--blue-soft);color:var(--blue)}.module-label{margin:12px 0 5px;color:var(--steel);font-size:9px;font-weight:800;letter-spacing:1.05px}.module-card strong{color:var(--ink);font-size:14px;font-weight:700}.module-desc{margin-top:6px;color:var(--body);font-size:11px;line-height:1.5}.module-link,.module-status{margin-top:auto;padding-top:13px;color:var(--blue-deep);font-size:11px;font-weight:700}.module-link b{padding-left:5px}.module-muted{background:#fafbfc}.module-muted .module-status{color:var(--muted);font-size:10px;font-weight:500}.page-footer{margin-top:25px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;color:var(--steel);font-size:9px;font-weight:700;letter-spacing:.75px}.page-footer i{padding:0 5px;color:var(--blue);font-style:normal}.page-footer span+span{font-weight:400;letter-spacing:0}
.chat-view{width:min(980px,calc(100% - 64px));margin:0 auto;padding:35px 0 23px;display:flex;flex-direction:column}.chat-header{padding-bottom:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-header h1{margin:7px 0 4px;color:var(--ink);font-size:24px;line-height:1.25;font-weight:600;letter-spacing:-.6px}.chat-header p{margin:0;color:var(--steel);font-size:11px}.button-outline{min-height:38px;border:1px solid var(--line);background:#fff;color:var(--body);font-size:11px}.button-outline:hover{border-color:#b6c1cd;background:var(--cloud)}.chat-messages{width:100%;max-width:800px;margin:22px auto 8px;display:grid;gap:18px}.message-row{display:flex;align-items:flex-start;gap:11px}.message-row.user{justify-content:flex-end}.message-avatar{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue-deep);font-size:11px;font-weight:800}.message-row.user .message-avatar{order:2;background:#e8eaed;color:#1c1e21}.message-bubble{max-width:min(86%,720px);padding:13px 16px;border:1px solid var(--line);border-radius:16px;background:#f8f9fa;color:var(--text);font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message-row.user .message-bubble{border-color:#cfe2ff;border-radius:16px 5px 16px 16px;background:#f1f7ff}.message-row.assistant .message-bubble{border-radius:5px 16px 16px 16px}.message-file{display:block;margin-top:8px;color:var(--blue-deep);font-size:10px;font-weight:700}.typing-dots{display:inline-flex;gap:4px;align-items:center}.typing-dots i{width:5px;height:5px;border-radius:50%;background:var(--steel);animation:typing 1s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typing{50%{opacity:.3;transform:translateY(-3px)}}.chat-empty{flex:1;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.empty-mark{width:47px;height:47px;border-radius:16px;background:var(--blue);color:white;display:grid;place-items:center;font-size:24px;font-weight:800}.chat-empty h2{margin:14px 0 5px;font-size:22px;font-weight:550;letter-spacing:-.5px}.chat-empty>p{margin:0;color:var(--steel);font-size:12px}.suggestion-row{margin-top:20px;display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.suggestion-row button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:100px;background:#fff;color:var(--body);font-size:11px}.suggestion-row button span{padding-left:5px;color:var(--blue)}.suggestion-row button:hover{border-color:#abcdfc;background:#f7faff}.composer{position:sticky;bottom:0;z-index:3;width:100%;max-width:800px;margin:12px auto 0;padding:10px 0 0;background:linear-gradient(180deg,#ffffff00 0,#fff 13px)}.composer-box{display:block;padding:10px 11px 8px;border:1px solid #ced0d4;border-radius:19px;background:#fff;box-shadow:0 7px 24px #0a131710}.composer-box:focus-within{border-color:#1876f2;box-shadow:0 0 0 2px #1876f222,0 7px 24px #0a131710}.composer textarea{display:block;width:100%;min-height:34px;max-height:150px;resize:vertical;border:0;outline:0;padding:4px 5px;background:transparent;color:var(--ink);font-size:13px;line-height:1.55}.composer textarea:focus-visible{outline:0}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-tools>div{display:flex;align-items:center;gap:11px;min-width:0}.attach-button{min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:100px;background:#fff;display:inline-flex;align-items:center;gap:5px;color:var(--body);font-size:11px;font-weight:650;cursor:pointer}.attach-button:hover{background:var(--cloud)}.attach-button:first-letter{font-size:15px}.privacy-hint{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.send-button{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:21px}.send-button:hover{background:var(--blue-deep)}.send-button:disabled{background:#aeb9c4;cursor:wait}.composer-disclaimer{margin:7px 4px 0;text-align:center;color:var(--muted);font-size:9px;line-height:1.4}.attachment-chip{margin-bottom:7px;padding:6px 9px;max-width:100%;border:1px solid #d9e9ff;border-radius:10px;background:#f6faff;display:flex;align-items:center;gap:8px;color:var(--blue-deep);font-size:11px}.attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip button{flex:none;width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:var(--steel);font-size:17px}.attachment-chip button:hover{background:#e5f0ff}.toast{position:fixed;right:22px;bottom:22px;z-index:60;max-width:min(430px,calc(100vw - 34px));padding:12px 16px;border-radius:13px;background:var(--ink);color:white;box-shadow:0 8px 30px #0a131726;font-size:12px;line-height:1.5}.team-view{width:min(850px,calc(100% - 64px));margin:0 auto;padding:45px 0}.team-heading h1{margin:8px 0;color:var(--ink);font-size:34px;font-weight:550;letter-spacing:-1px}.team-heading p{max-width:650px;color:var(--body);font-size:13px;line-height:1.65}.team-list{margin-top:22px;display:grid;gap:11px}.team-row{padding:15px 16px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1.3fr) auto;align-items:center;gap:12px}.team-person{display:flex;align-items:center;gap:10px}.team-person strong{font-size:12px}.team-state{margin-top:3px;color:var(--steel);font-size:10px}.team-row input{width:100%;height:40px;padding:0 11px;border:1px solid #ced0d4;border-radius:9px;font-size:12px}.team-row button{min-height:38px;padding:0 14px;border-radius:100px;border:0;background:var(--blue);color:white;font-size:11px;font-weight:700}.team-row button:hover{background:var(--blue-deep)}.team-row button:disabled{background:#9cacba;cursor:wait}.mobile-bar{display:none}.sidebar-scrim{display:none}
@media(max-width:1100px){.home-view{width:calc(100% - 58px)}.welcome-grid{grid-template-columns:1fr .82fr;gap:12px}.welcome-art{transform:scale(.94)}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{min-height:176px}}
@media(max-width:767px){.portal{display:block}.sidebar{position:fixed;left:0;top:0;width:min(292px,86vw);height:100dvh;min-height:0;transform:translateX(-104%);transition:transform .22s ease;box-shadow:none}.sidebar.is-open{transform:translateX(0);box-shadow:12px 0 38px #0a13171a}.sidebar-scrim:not([hidden]){position:fixed;inset:0;z-index:19;display:block;background:#0a13174d}.main-area{min-height:100dvh}.mobile-bar{height:60px;padding:0 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;background:#ffffffed;backdrop-filter:blur(12px)}.mobile-brand{color:var(--ink);text-decoration:none;font-size:13px;font-weight:750}.mobile-brand span{padding-left:5px;color:var(--steel);font-size:10px;font-weight:400}.icon-button{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--ink);font-size:20px}.icon-button:hover{background:var(--cloud)}.home-view{width:calc(100% - 38px);padding:17px 0 20px}.welcome-grid{min-height:0;grid-template-columns:1fr;gap:0;padding-top:10px}.welcome-copy{padding:27px 0 15px}.welcome-copy h1{font-size:clamp(35px,8.8vw,47px);letter-spacing:-1.7px}.lead{font-size:13px}.welcome-art{min-height:230px;grid-row:2;transform:none}.art-center{width:119px;height:119px;border-radius:34px}.art-mark{font-size:47px}.orbit-a{width:min(310px,85vw);height:165px}.orbit-b{width:220px;height:260px}.notice{margin:15px 0 25px;padding:12px}.section-head{display:block}.section-head h2{font-size:22px;line-height:1.3}.section-note{display:block;padding-top:8px;font-size:10px}.module-grid{grid-template-columns:1fr;gap:9px}.module-card{min-height:154px;padding:15px}.module-desc{max-width:440px}.page-footer{flex-direction:column;gap:6px}.chat-view{width:calc(100% - 30px);min-height:calc(100dvh - 60px);padding:20px 0 14px}.chat-header{align-items:flex-start;padding-bottom:14px}.chat-header h1{font-size:20px}.chat-header p{max-width:240px;font-size:10px;line-height:1.5}.button-outline{padding:0 12px;min-height:36px}.chat-messages{margin:15px auto 3px;gap:12px}.message-bubble{max-width:89%;padding:11px 13px;font-size:12px}.message-avatar{width:27px;height:27px}.chat-empty{min-height:240px;padding:13px}.chat-empty h2{font-size:20px}.suggestion-row{display:grid;width:100%;max-width:340px}.suggestion-row button{text-align:left}.composer{margin-top:6px}.composer-box{padding:8px;border-radius:16px}.composer-tools>div{gap:7px}.attach-button{min-height:38px;padding:0 10px}.privacy-hint{max-width:115px;font-size:8px}.send-button{width:42px;height:42px}.team-view{width:calc(100% - 34px);padding:30px 0}.team-heading h1{font-size:29px}.team-row{grid-template-columns:1fr;gap:9px;padding:13px}.team-row button{width:100%}.auth-screen{padding:16px}.auth-card{padding:25px 21px;border-radius:24px}.auth-card>.brand{margin-bottom:29px}}
@media(max-width:380px){.home-view{width:calc(100% - 32px)}.welcome-copy h1{font-size:34px}.topline,.home-topline{align-items:flex-start}.secure-pill{font-size:9px;padding:7px 9px}.composer-tools>div{max-width:calc(100% - 48px)}.privacy-hint{max-width:76px}.attach-button{font-size:10px}.chat-header{gap:7px}.chat-header p{max-width:195px}}
.catalog-view{width:min(1120px,calc(100% - 88px));margin:0 auto;padding:38px 0 30px}.catalog-help{margin:10px 0;color:var(--steel);font-size:11px;line-height:1.6}.catalog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}.catalog-heading h1{margin:8px 0;color:var(--ink);font-size:clamp(28px,4vw,38px);letter-spacing:-1px}.catalog-heading p{max-width:700px;margin:0;color:var(--body);font-size:13px;line-height:1.6}.catalog-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.catalog-stats article{padding:17px 20px;border:1px solid var(--line);border-radius:16px;background:#fff;display:grid;gap:8px}.catalog-stats span,.catalog-deadline span{color:var(--steel);font-size:9px;font-weight:800;letter-spacing:1px}.catalog-stats strong{color:var(--ink);font-size:25px}.catalog-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto minmax(140px,.6fr) auto;gap:11px;align-items:center;margin:22px 0 12px}.catalog-toolbar label{color:var(--steel);font-size:11px;font-weight:700}.catalog-toolbar input,.catalog-toolbar select{height:43px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:12px}.catalog-toolbar .button{white-space:nowrap}.catalog-message{min-height:19px;color:var(--steel);font-size:11px}.catalog-list{display:grid;gap:13px}.catalog-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 28px #0a131708}.catalog-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.catalog-source{color:var(--blue-deep);font-size:10px;font-weight:750;letter-spacing:.3px}.catalog-card-title h2{margin:7px 0;color:var(--ink);font-size:17px}.catalog-card-title p{margin:0;color:var(--body);font-size:12px;line-height:1.6}.catalog-deadline{min-width:180px;padding:11px 13px;border-radius:12px;background:var(--cloud);display:grid;gap:5px}.catalog-deadline strong{color:var(--ink);font-size:13px}.catalog-deadline.upcoming{background:#eaf7ee}.catalog-deadline.expired{background:#fff0f1}.catalog-meta{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:15px;color:var(--steel);font-size:10px}.catalog-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.catalog-actions .button{min-height:38px;font-size:11px;text-decoration:none}.catalog-actions button:disabled{cursor:not-allowed;opacity:.55}.catalog-caveat{margin:14px 0 0;padding:11px 13px;border-radius:11px;background:#fff8e8;color:#715518;font-size:10px;line-height:1.55}.catalog-empty{padding:30px;border:1px dashed var(--line);border-radius:16px;color:var(--steel);font-size:13px;text-align:center;line-height:1.6}.catalog-footnote{margin-top:19px;color:var(--muted);font-size:10px;line-height:1.6}
@media(max-width:1000px){.catalog-view{width:calc(100% - 58px)}.catalog-toolbar{grid-template-columns:auto 1fr;}.catalog-toolbar label:nth-of-type(2){grid-column:1}.catalog-toolbar select{grid-column:2}.catalog-toolbar button{grid-column:1/-1;justify-self:start}}
@media(max-width:767px){.catalog-view{width:calc(100% - 38px);padding:22px 0}.catalog-heading{gap:10px}.catalog-heading p{font-size:11px}.catalog-heading>.button{padding:0 13px}.catalog-stats{gap:7px}.catalog-stats article{padding:12px 10px}.catalog-stats span{font-size:8px;letter-spacing:.5px}.catalog-stats strong{font-size:21px}.catalog-toolbar{grid-template-columns:1fr;gap:7px}.catalog-toolbar label:nth-of-type(2),.catalog-toolbar select,.catalog-toolbar button{grid-column:auto}.catalog-card{padding:15px}.catalog-card-head{display:grid}.catalog-deadline{min-width:0}.catalog-meta{display:grid;gap:7px}.catalog-actions{display:grid}.catalog-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.message-catalog-button{display:block;margin-top:10px;padding:8px 12px;border:1px solid #b9d4ff;border-radius:100px;background:#fff;color:var(--blue-deep);font-size:10px;font-weight:700;cursor:pointer}.message-catalog-button:hover{background:#eaf3ff}.message-catalog-button:disabled{opacity:.68;cursor:default}
.composer.is-dragging .composer-box{border-color:var(--blue);background:#f4f9ff;box-shadow:0 0 0 4px #1876f222}.drop-hint{display:none;margin:0 auto 7px;padding:7px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--steel);font-size:10px;text-align:center}.composer.is-dragging .drop-hint{display:block;border-color:var(--blue);color:var(--blue-deep);background:var(--blue-soft)}.attachment-chip:not([hidden]){display:flex}.attachment-chip{flex-wrap:wrap;gap:6px}.attachment-chip-item{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 8px;border:1px solid #d9e9ff;border-radius:9px;background:#f6faff;color:var(--blue-deep);font-size:10px}.attachment-chip-item:first-child{margin-left:0}.attachment-chip-remove{flex:none;width:19px;height:19px;border:0;border-radius:50%;background:transparent;color:var(--steel);font-size:14px;line-height:1}.attachment-chip-remove:hover{background:#e5f0ff}
.catalog-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:17px 0 0;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe}.catalog-detail{min-width:0}.catalog-detail dt{margin:0 0 4px;color:var(--steel);font-size:10px;font-weight:750;text-transform:capitalize}.catalog-detail dd{margin:0;color:var(--body);font-size:12px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:767px){.catalog-details{grid-template-columns:1fr;gap:10px}}
.catalog-editor{width:min(1040px,calc(100% - 30px));max-height:min(90dvh,900px);padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #0a131733}.catalog-editor::backdrop{background:#0a131766;backdrop-filter:blur(3px)}.catalog-editor-form{display:flex;max-height:min(90dvh,900px);flex-direction:column}.catalog-editor-header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;gap:18px;padding:22px 25px;border-bottom:1px solid var(--line);background:#fff}.catalog-editor-header h2{margin:6px 0;color:var(--ink);font-size:22px;letter-spacing:-.5px}.catalog-editor-header p{max-width:720px;margin:0;color:var(--steel);font-size:12px;line-height:1.55}.catalog-editor-header .icon-button{flex:none}.catalog-editor-fields{overflow:auto;padding:4px 25px 20px}.catalog-editor-section{padding:18px 0 5px;border-bottom:1px solid var(--line)}.catalog-editor-section h3{margin:0 0 13px;color:var(--blue-deep);font-size:13px}.catalog-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-editor-field{display:grid;align-content:start;gap:5px}.catalog-editor-field.is-wide{grid-column:1/-1}.catalog-editor-field label{color:var(--steel);font-size:11px;font-weight:700}.catalog-editor-field input,.catalog-editor-field textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px;line-height:1.45}.catalog-editor-field input{min-height:39px}.catalog-editor-field textarea{min-height:72px;resize:vertical}.catalog-editor-field input:focus,.catalog-editor-field textarea:focus{outline:3px solid #1876f222;border-color:var(--blue)}.catalog-editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:9px;padding:14px 25px;border-top:1px solid var(--line);background:#fff}.catalog-editor-actions .button:disabled{opacity:.65;cursor:wait}#catalog-editor-error:not([hidden]){margin:8px 25px 0;padding:10px 12px;border-radius:9px;background:#fff1f0}
@media(max-width:767px){.catalog-editor{width:calc(100% - 16px);max-height:94dvh;border-radius:14px}.catalog-editor-form{max-height:94dvh}.catalog-editor-header{padding:16px}.catalog-editor-header h2{font-size:18px}.catalog-editor-fields{padding:0 16px 15px}.catalog-editor-grid{grid-template-columns:1fr}.catalog-editor-field.is-wide{grid-column:auto}.catalog-editor-actions{padding:12px 16px}.catalog-editor-actions .button{flex:1}}
.tender-chat-dialog{width:min(720px,calc(100% - 24px));max-height:min(82dvh,760px)}.tender-chat-dialog::backdrop{background:#0a131766;backdrop-filter:blur(3px)}.tender-chat-panel{display:flex;max-height:min(82dvh,760px);flex-direction:column}.tender-chat-panel>.catalog-editor-header{position:static;flex:none}.tender-chat-messages{flex:1 1 auto;min-height:180px;overflow:auto;padding:18px 22px;display:grid;align-content:start;gap:12px}.tender-chat-message{padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe}.tender-chat-message-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--steel);font-size:10px}.tender-chat-message-meta strong{color:var(--blue-deep);font-size:11px}.tender-chat-message p{margin:8px 0 0;color:var(--text);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.tender-chat-empty{margin:auto;padding:26px 0;color:var(--steel);font-size:12px;text-align:center}.tender-chat-status{min-height:17px;margin:0;padding:0 22px;color:var(--steel);font-size:10px}.tender-chat-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;padding:14px 22px 20px}.tender-chat-form textarea{width:100%;min-height:64px;max-height:180px;resize:vertical;padding:11px 12px;border:1px solid var(--line);border-radius:11px;color:var(--ink);font:inherit;font-size:12px;line-height:1.5}.tender-chat-form textarea:focus{outline:3px solid #1876f222;border-color:var(--blue)}.tender-chat-form .button{min-height:42px}.tender-chat-form .button:disabled{opacity:.65;cursor:wait}
@media(max-width:767px){.tender-chat-dialog{width:calc(100% - 12px);max-height:94dvh;border-radius:14px}.tender-chat-panel{max-height:94dvh}.tender-chat-panel>.catalog-editor-header{padding:15px}.tender-chat-messages{padding:14px}.tender-chat-form{grid-template-columns:1fr;padding:11px 14px 15px}.tender-chat-form .button{justify-self:end;min-width:110px}}
#tender-chat-dialog{width:70vw;height:70dvh;max-height:70dvh}.tender-chat-panel{height:100%;max-height:100%}
@media(max-width:767px){#tender-chat-dialog{width:calc(100% - 12px)}}
.catalog-attachments{margin-top:15px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe}.catalog-attachments h3{margin:0 0 10px;color:var(--blue-deep);font-size:11px}.catalog-attachment-list{display:flex;flex-wrap:wrap;gap:8px}.catalog-attachment-list .button{max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:left}.catalog-no-attachments{margin:0;color:var(--muted);font-size:13px}.catalog-attachment-actions{display:flex;gap:8px;margin-top:10px}
@media(max-width:767px){.catalog-attachment-list{display:grid;grid-template-columns:1fr}.catalog-attachment-list .button{width:100%;justify-content:flex-start}}
.button-danger{border:1px solid #e41e3f55;background:#fff5f6;color:#b01830}.button-danger:hover{border-color:var(--critical);background:#ffedf0}
