/* Corporate theme: deep navy, enterprise blue and white surfaces. Legacy color variable names remain compatible. */
:root{--ink:#1c2d46;--muted:#7c899e;--paper:#f3f5fa;--line:#e4e9f2;--green:#1655db;--lime:#e6efff;--orange:#d89555;--white:#fff;--shadow:0 12px 36px #19273e0b;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #6686bc;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #d7dce5;border-radius:10px;background:#fff;padding:12px;color:var(--ink);outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:#596f95;box-shadow:0 0 0 3px #90a6cd1e}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green);margin:0}textarea{resize:vertical;min-height:94px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{letter-spacing:-.035em}h1{font-size:30px;font-weight:650}h2{font-size:22px;font-weight:650}h3{font-size:16px;font-weight:650}p{line-height:1.8}small,.subtle{color:var(--muted)}.muted{color:var(--muted)}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.icon-btn:hover{background:#e4e9f1}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border-radius:10px;font-weight:600;border:1px solid var(--line);background:white;white-space:nowrap}.btn:hover{filter:brightness(.97)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.lime{background:var(--lime);border-color:var(--lime);color:#1e2e49}.btn.ghost{background:transparent}.btn.small{min-height:34px;padding:6px 12px;font-size:12px}.btn .icon{width:17px;height:17px}.block{width:100%}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.grow{flex:1;min-width:0}.card{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.pad{padding:24px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 8px;font-size:11px;white-space:nowrap;font-weight:550;line-height:1.5}.badge.green{background:#e7ecf5;color:#4a5973}.badge.amber{background:#fbf1e1;color:#a77735}.badge.blue{background:#edf2f8;color:#527193}.badge.gray{background:#edf0f4;color:#6e82a3}.badge.red{background:#faeae6;color:#a96455}.eyebrow{font-size:10px;letter-spacing:2px;color:#5f7294;font-weight:650}.label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}.field{display:block}.field small{display:block;margin-top:6px;font-size:11px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.divider{height:1px;background:var(--line);margin:20px 0}.hint{padding:12px 14px;background:#eff1f6;border-radius:8px;font-size:12px;color:#5d7091;line-height:1.8}.hint.warning{background:#fff7e9;color:#9a7947}.hint .icon{width:16px;height:16px;margin-right:5px}.link{color:var(--green);font-size:12px;font-weight:600;padding:4px 0}.empty{text-align:center;padding:45px 16px;color:var(--muted)}.empty>.icon{width:38px;height:38px;margin-bottom:16px;color:#9eabc1}.empty h3{color:#536583;font-size:15px;margin-bottom:7px}.empty p{font-size:12px}.logo{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:-1px}.logo-mark{width:33px;height:33px;display:inline-flex;justify-content:center;align-items:center;background:var(--green);color:var(--lime);border-radius:10px}.logo-mark .icon{width:21px;height:21px}.logo small{font-size:10px;display:block;letter-spacing:1.8px;font-weight:500;margin-top:2px}.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#dfe6f1;color:#465672;font-weight:650;flex-shrink:0}.media{position:relative;overflow:hidden;background:#d4d9e3}.media>img{display:block;width:100%;height:100%;object-fit:cover}.tone-warm>img{filter:sepia(.32) saturate(.7)}.tone-blue>img{filter:hue-rotate(35deg) saturate(.6)}.tone-lilac>img{filter:hue-rotate(205deg) saturate(.42)}.hotspot{position:absolute;transform:translate(-50%,-50%);width:29px;height:29px;border-radius:50%;background:#c7d7f4d9;box-shadow:0 0 0 5px #b6cbf044,0 2px 9px #1a284033;display:grid;place-items:center;color:#1e2e4a}.hotspot .icon{width:14px;height:14px}.hotspot:hover{box-shadow:0 0 0 8px #c7d7f44f}.rich{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.rich h3{margin:20px 0 10px}.rich img,.rich video{max-width:100%;border-radius:10px}.rich ul{padding-left:20px}.device-art{background:linear-gradient(145deg,#e8ebf1,#d9dfe8);display:grid;place-items:center;position:relative;overflow:hidden}.device-art>.icon{width:57px;height:57px;color:#4a5973;stroke-width:1}.device-art:after{content:'';position:absolute;width:74px;height:10px;background:#334e7c20;border-radius:50%;filter:blur(5px);bottom:17%}.device-art.large{height:210px;border-radius:14px}.device-art.large>.icon{width:100px;height:100px}.price{font-size:19px;letter-spacing:-.5px;font-weight:650}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar input{max-width:310px}.toolbar select{max-width:160px}.checkline{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#607497;line-height:1.7}.checkline input{margin-top:3px;flex-shrink:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:12px}th{font-size:11px;font-weight:550;color:#788aa9;background:#f8f9fb;padding:13px 20px;border-block:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #eaecf1}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7f9fc}td small{display:block;margin-top:5px;font-size:10px}.table-user{display:flex;align-items:center;gap:10px}.table-user .avatar{width:30px;height:30px;font-size:11px}.table-footer{padding:14px 22px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.table-footer .page{display:inline-grid;place-items:center;width:25px;height:25px;background:#e6ebf4;color:var(--green);border-radius:5px}.note-item{padding:13px 0;border-bottom:1px solid var(--line)}.note-item:last-child{border:0}.note-item p{font-size:13px;margin:7px 0}.note-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.photo-strip{display:flex;gap:8px;flex-wrap:wrap}.photo-strip img{width:80px;height:80px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.pill-nav{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.pill{padding:8px 14px;border:1px solid var(--line);background:#fff;border-radius:20px;white-space:nowrap;font-size:12px}.pill.active{color:#fff;background:var(--green);border-color:var(--green)}
dialog{border:1px solid var(--line);padding:0;border-radius:18px;width:min(500px,calc(100vw - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 30px 120px #15203233}dialog.wide{width:min(790px,calc(100vw - 28px))}dialog::backdrop{background:#15203355;backdrop-filter:blur(3px)}dialog>header{padding:22px 24px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}dialog header small{font-size:9px;letter-spacing:1.5px}dialog h2{font-size:20px;margin-top:5px}.dialog-body{padding:23px}.dialog-body p{font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1a2841;color:white;padding:13px 22px;border-radius:12px;box-shadow:0 8px 30px #16223722;z-index:2000;font-size:13px;transition:.2s;max-width:90vw;width:max-content}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:600px){.form-grid{grid-template-columns:1fr}.pad{padding:18px}dialog>header{padding:18px}.dialog-body{padding:18px}h1{font-size:25px}.btn{padding:10px 13px}}
