:root{--blue: #2682ff;--blue-hover: #1a70e8;--blue-active: #125fc9;--blue-50: #f2f8ff;--blue-100: #e6f1ff;--blue-200: #cfe3ff;--ink: #17243a;--ink-2: #42536b;--muted: #8291a6;--line: #e7edf5;--line-strong: #d9e2ef;--bg: #f6f8fb;--white: #ffffff;--surface: #ffffff;--border: #e7edf5;--text: #17243a;--primary: #2682ff;--primary-hover: #1a70e8;--primary-soft: #e6f1ff;--danger: #c62424;--warn: #b7791f;--ok: #12856a;--amber: #b7791f;--amber-bg: #fff8e8;--green: #12856a;--green-bg: #e8f7f2;--deadline: #c62424;--radius: 12px;--radius-sm: 8px;--shadow: 0 6px 24px rgba(23, 57, 105, .06);--shadow-hover: 0 10px 30px rgba(38, 130, 255, .12);--max: 1200px;--font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--topbar-height: 64px}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-y:scroll;scrollbar-gutter:stable}body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}#root{min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}mark.kw-hit{color:#e11d2e;background:transparent;font-weight:700;padding:0}.app-shell{min-height:100vh;display:flex;flex-direction:column;padding-top:calc(var(--topbar-height) + 1px + env(safe-area-inset-top,0px))}.topbar{position:fixed;top:0;left:0;right:0;z-index:50;padding-top:env(safe-area-inset-top,0px);background:#fffffff5;border-bottom:1px solid var(--line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.topbar-inner{max-width:var(--max);height:64px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:40px}.brand{display:inline-flex;align-items:center;gap:10px;flex:none;color:var(--ink);font-weight:700}.brand:hover{color:var(--ink)}.brand-mark{width:34px;height:34px;border-radius:9px;background:var(--blue);display:grid;place-items:center;box-shadow:0 4px 12px #2682ff47}.brand-mark svg{width:20px;height:20px;display:block}.brand-text{font-size:19px;font-weight:700;letter-spacing:.5px}.top-nav{display:flex;align-items:center;gap:32px;height:100%;flex:1;min-width:0}.nav-link{position:relative;height:100%;display:inline-flex;align-items:center;font-size:14px;font-weight:500;color:var(--ink-2);white-space:nowrap}.nav-link:hover{color:var(--blue)}.nav-link.active{color:var(--blue);font-weight:600}.nav-link.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--blue)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}.bell{position:relative;width:34px;height:34px;border-radius:8px;border:1px solid var(--line-strong);background:#fff;color:var(--ink-2);display:grid;place-items:center}.bell:hover,.bell.active{color:var(--blue);border-color:var(--blue-200);background:var(--blue-50)}.bell svg{width:18px;height:18px}.bell-count{position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:var(--danger);color:#fff;font-size:10px;line-height:16px;font-weight:700}.user-chip{height:34px;padding:0 12px;border-radius:8px;border:1px solid var(--line-strong);background:#fff;color:var(--ink-2);display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.user-chip strong{color:var(--ink);font-weight:600}.user-menu{position:relative}.user-drop{position:absolute;right:0;top:calc(100% + 8px);width:180px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:6px;z-index:60}.user-drop button,.user-drop a{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:8px 10px;color:var(--ink-2);font-size:13px}.user-drop button:hover,.user-drop a:hover{background:var(--blue-50);color:var(--blue)}.page{flex:1;max-width:var(--max);width:100%;margin:0 auto;padding:30px 24px 72px}.site-footer{border-top:1px solid var(--line);background:#fff;color:var(--muted);font-size:12px}.footer-inner{max-width:var(--max);margin:0 auto;padding:11px 24px;text-align:center}.page-head{margin-bottom:22px;display:flex;justify-content:space-between;gap:16px;align-items:flex-end}.page-head h1{font-size:26px;font-weight:700;letter-spacing:.2px}.page-sub{margin:6px 0 0;color:var(--muted);font-size:13px}.eyebrow{color:var(--blue);font-size:12px;font-weight:700;letter-spacing:1.5px;margin:0 0 6px}.hero{position:relative;overflow:hidden;border:1px solid var(--blue-100);border-radius:16px;background:linear-gradient(115deg,#eef6ff,#f8fbff 55%,#fff);padding:22px 28px 18px}.hero:after{content:"";position:absolute;right:-80px;top:-130px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,#2682ff1f,#2682ff00 68%);pointer-events:none}.hero h1{position:relative;z-index:1;font-size:32px;line-height:1.2;font-weight:700;letter-spacing:-.5px}.hero p{position:relative;z-index:1;margin:6px 0 0;color:var(--ink-2);font-size:15px;max-width:640px}.hero-search{position:relative;z-index:1;display:flex;gap:8px;margin-top:14px;max-width:640px}.hero-search input{flex:1;height:46px}.hero-search .btn{height:46px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow)}.stat-card .lbl{color:var(--muted);font-size:12px}.stat-card .num{margin-top:4px;font-size:28px;font-weight:700;letter-spacing:-.4px;line-height:1.1}.stat-card .num small{font-size:13px;font-weight:500;color:var(--muted);margin-left:4px}.stat-card.warn .num{color:var(--deadline)}.section{margin-top:30px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700}.section-title:before{content:"";width:3px;height:18px;border-radius:2px;background:var(--blue)}.more-link{font-size:13px;color:var(--blue);font-weight:500}.more-link:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 18px;border-radius:var(--radius-sm);border:1px solid transparent;font-size:14px;font-weight:500;background:transparent;color:var(--ink);white-space:nowrap;transition:.18s ease}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 4px 12px #2682ff2e}.btn-primary:hover{background:var(--blue-hover);color:#fff}.btn-ghost{background:#fff;color:var(--ink-2);border-color:var(--line-strong)}.btn-ghost:hover{color:var(--blue);border-color:var(--blue-200);background:var(--blue-50)}.btn-soft{background:var(--blue-50);color:var(--blue);border-color:var(--blue-100)}.btn-soft:hover{background:var(--blue-100)}.btn-danger-ghost{background:#fff;color:var(--danger);border:1px solid #f3c5c5}.btn-danger-ghost:hover{background:#fef2f2}.btn-sm{height:32px;padding:0 12px;font-size:13px}.btn-block{width:100%}.btn:disabled{opacity:.45;cursor:not-allowed}input[type=text],input[type=password],input[type=search],select,textarea{height:40px;padding:0 12px;background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink);outline:none;width:100%}textarea{height:auto;min-height:72px;padding:10px 12px;resize:vertical}input::placeholder,textarea::placeholder{color:#a3b0c0}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2682ff1f}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.form-field label{display:block;font-size:13px;color:var(--ink-2);margin-bottom:6px;font-weight:500}.hint{color:var(--muted);font-size:12px;line-height:1.7}.span-2{grid-column:span 2}.card,.filter-panel,.auth-card,.side-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.filter-panel{padding:16px 16px 14px;margin-bottom:14px}.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filter-row .grow{flex:1 1 220px;min-width:0}.filter-row select{width:150px;flex:none}.filter-chips{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.chip{height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--line);background:#fff;color:var(--ink-2);font-size:12px;font-weight:500;display:inline-flex;align-items:center}.chip:hover,.chip.active{color:var(--blue);border-color:var(--blue-200);background:var(--blue-50)}.list-meta{display:flex;justify-content:space-between;align-items:center;margin:10px 0 8px;color:var(--muted);font-size:13px;gap:8px;flex-wrap:wrap}.list-meta strong{color:var(--ink)}.card-list{display:flex;flex-direction:column;gap:10px}.bid-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;transition:border-color .18s}.bid-card:hover{border-color:var(--blue-200)}.bid-card:hover .bid-title{color:var(--blue)}.bid-title{grid-column:1;grid-row:1;font-size:15px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.bid-card-type{grid-column:2;grid-row:1;justify-self:end}.bid-meta{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;align-items:center}.bid-meta strong{color:var(--ink);font-weight:560}.bid-date{grid-column:2;grid-row:2;justify-self:end;color:#8b97a8;font-size:12px;white-space:nowrap}.deadline-value{color:var(--deadline);font-weight:700}.bid-sub-tags{grid-column:1 / -1;font-size:12px;color:var(--blue);background:var(--blue-50);display:inline-block;justify-self:start;padding:4px 9px;border-radius:5px}.gap{color:var(--muted)}.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:400;line-height:1;background:#f1f4f8;color:#617085;white-space:nowrap}.badge-type-tender{background:#e8f0fc;color:#3d8bff}.badge-type-negotiate{background:#f3e8ff;color:#6b21a8}.badge-type-amend,.badge-change{background:var(--amber-bg);color:var(--amber)}.badge-type-award,.badge-type-candidate,.badge-green{background:var(--green-bg);color:var(--green)}.badge-deadline-soon{background:#fcecec;color:#e85a60}.badge-deadline-far{background:#fff4e5;color:#d08920}.badge-deadline-over{background:#f1f4f8;color:#64748b}.badge-soft{background:var(--blue-50);color:var(--blue)}.badge-industry-goods{background:#e6f7f6;color:#2a9e9e}.badge-industry-service{background:#f3e8ff;color:#7c5cbf}.pager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:24px;color:var(--muted)}.pager .btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}.empty,.loading-block,.error-block{text-align:center;padding:28px 16px;color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius)}.error-block{color:var(--danger);border-color:#f3c5c5;background:#fff}.loading-spinner{width:18px;height:18px;border:2px solid var(--blue-200);border-top-color:var(--blue);border-radius:50%;display:inline-block;animation:spin .7s linear infinite;vertical-align:-3px;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.side-card{padding:16px;position:sticky;top:calc(var(--topbar-height) + 24px)}.side-card h3{font-size:15px;margin-bottom:10px}.detail-card{padding:28px 30px}.crumb{color:var(--muted);font-size:12px;margin-bottom:16px}.crumb a:hover{color:var(--blue)}.crumb span{margin:0 8px;color:#c3ccd9}.detail-title{font-size:24px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}.detail-toolbar{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;align-items:center}.detail-badges,.detail-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.detail-highlight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px}.detail-field{padding:8px 14px;border-bottom:1px solid var(--line)}.detail-field dt{color:var(--muted);font-size:12px}.detail-field dd{margin:2px 0 0;font-size:13px;font-weight:700;overflow-wrap:anywhere}.detail-section{margin-top:28px}.detail-section h3{position:relative;font-size:15px;font-weight:700;padding-left:10px}.detail-section h3:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:.7em;border-radius:1px;background:var(--blue)}.detail-frame,.pdf-frame{width:100%;margin-top:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;min-height:420px}.pdf-frame{height:720px}.gap-note{margin-top:10px;padding:12px 14px;border-radius:8px;background:var(--amber-bg);color:var(--ink-2);font-size:13px}.timeline-list{list-style:none;margin:18px 0 0 6px;padding-left:20px;border-left:1px solid var(--blue-200)}.timeline-item{position:relative;padding:0 0 18px 4px}.timeline-item:before{content:"";position:absolute;left:-26px;top:6px;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid var(--blue-200)}.timeline-item.is-current:before{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 4px var(--blue-50)}.timeline-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.timeline-title{margin-top:6px;font-size:13px;font-weight:600;overflow-wrap:anywhere;display:block}.timeline-title:hover{color:var(--blue)}.event{padding:10px 0;border-top:1px solid var(--line);font-size:13px}.event:first-child{border-top:0}.event .who{color:var(--muted);font-size:12px}.sub-list{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.sub-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-top:1px solid var(--line);background:#fff}.sub-row:first-child{border-top:0}.sub-row:hover{background:var(--blue-50)}.sub-row-name{font-size:14px;font-weight:700}.sub-row-summary{margin-top:4px;font-size:12px;color:var(--ink-2)}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card{padding:14px 16px}.template-card h3{font-size:15px}.template-card p{margin-top:6px;color:var(--ink-2);font-size:12px;min-height:36px}.checks{display:flex;flex-wrap:wrap;gap:8px}.check{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink-2);font-size:13px}.check input{accent-color:var(--blue)}.check.on{border-color:var(--blue-200);background:var(--blue-50);color:var(--blue)}.auth-wrap{max-width:440px;margin:24px auto}.auth-card{padding:28px 26px 24px}.auth-card h1{font-size:22px;margin-bottom:6px}.auth-switch{margin-top:14px;color:var(--muted);font-size:13px;text-align:center}.auth-switch a{color:var(--blue)}.form-error{background:#fef2f2;color:var(--danger);border-radius:8px;padding:8px 10px;font-size:13px;margin-bottom:12px}.notify{display:flex;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.notify.unread{border-color:var(--blue-200);background:#fbfdff}.notify .lvl{width:8px;border-radius:8px;background:var(--blue);flex:none}.notify.urgent .lvl{background:var(--danger)}.notify.warning .lvl{background:var(--amber)}.notify h3{font-size:14px;font-weight:650}.notify p{margin-top:4px;color:var(--ink-2);font-size:13px}.notify time{color:var(--muted);font-size:12px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.digest{padding:16px 18px;border-radius:var(--radius);border:1px solid var(--blue-100);background:linear-gradient(120deg,#eef6ff,#fff);margin-bottom:16px}.digest h2{font-size:16px}.digest ul{margin:8px 0 0;padding-left:18px;color:var(--ink-2)}.toast{position:fixed;left:50%;top:calc(76px + env(safe-area-inset-top,0px));transform:translate(-50%);background:#17243aeb;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;z-index:120}@media (max-width: 1000px){.page-grid,.stats-grid,.template-grid{grid-template-columns:1fr}.side-card{position:static}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.topbar-inner{padding:0 16px;gap:16px}.brand-text{font-size:17px}.top-nav{gap:16px;overflow-x:auto;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.nav-link{font-size:13px}.user-chip span,.user-chip strong{display:none}.user-chip{width:34px;padding:0;justify-content:center}.user-chip:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}.nav-link{flex:0 0 auto}.page{padding:20px 16px 50px}.page-head{flex-direction:column;align-items:flex-start}.page-head h1,.hero h1{font-size:24px}.hero{padding:16px}.hero-search,.filter-row{flex-direction:column;align-items:stretch}.filter-row select,.hero-search .btn{width:100%}.form-grid,.detail-highlight{grid-template-columns:1fr}.span-2{grid-column:auto}.detail-card{padding:22px 16px}.detail-title{font-size:20px}.bid-card{padding:14px}.bid-meta,.bid-date{grid-column:1 / -1;justify-self:start}.bid-date{grid-row:3}.sub-row{flex-wrap:wrap}input,select,textarea{font-size:16px}}
