@charset "UTF-8";
:root{--ink:#14243c;--muted:#617189;--sub:#8593a7;--royal:#165cd7;--blue:#1962df;--line:#e5ebf3;--bg:#f1f5fa;--teal:#087d70;--r:16px;--shadow:0 3px 14px #284c7b09;font:14px/1.5 "Microsoft YaHei UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,tr:focus-visible{outline:3px solid #697fff;outline-offset:2px}button:active{filter:brightness(.96)}img{display:block;object-fit:contain}h1,h2,h3,p,dl,dt,dd{margin:0}h1,h2,h3{line-height:1.35}h2{font-size:17px}i{font-style:normal}.numeric,strong,.metric b,td{font-variant-numeric:tabular-nums}/* Business canvas. Mobile documents scroll natively to the final action. */
:root {
  --nav-height: calc(57px + env(safe-area-inset-bottom, 0px));
  --gutter: clamp(11px, 3.2vw, 16px);
}
html.handheld {
  scrollbar-width: none;
  scroll-padding-block: 52px calc(var(--nav-height) + 8px);
}
html.handheld::-webkit-scrollbar { display: none; }
.page-main { min-width: 0; min-height: 100dvh; padding-bottom: calc(var(--nav-height) + 8px); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 13px calc(var(--gutter) + 3px) 27px;
  background: radial-gradient(ellipse at 94% 108%, #b5eeff 0%, #74bffb80 26%, transparent 58%),
              linear-gradient(123deg, #174eba 3%, #246ee6 54%, #54a5f8);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 118%; height: 62%; border: 1px solid #ffffff35; border-radius: 50%;
  transform: rotate(-22deg); right: -54%; bottom: 7%;
}
.hero::after { right: -57%; bottom: -6%; opacity: .6; }
.hero-lines { position: absolute; z-index: -1; inset: 0; background: linear-gradient(119deg, transparent 52%, #ffffff0b 52% 58%, transparent 58% 67%, #ffffff0e 67% 74%, transparent 74%); }
.home-top, .brandline { display: flex; align-items: center; }
.home-top { justify-content: space-between; gap: 10px; }
.brandline { gap: 8px; font-size: 11px; letter-spacing: .6px; color: #eff7ff; }
.wordmark { font-size: 19px; font-weight: 800; line-height: 1.2; color: white; letter-spacing: 1px; }
.brand-rule { width: 1px; height: 14px; background: #d7e9ffad; }
.home-top button, .page-top>button { flex: none; padding: 4px 10px; border: 1px solid #ffffff63; border-radius: 16px; background: #ffffff23; font-size: 11px; font-weight: 600; }
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  align-items: center; gap: 4px;
  min-height: clamp(133px, 35vw, 157px);
  margin-top: 8px;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(22px, 7.45vw, 34px); line-height: 1.28; font-weight: 800; letter-spacing: 0; overflow-wrap: anywhere; }
.hero-date { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; margin-top: 10px; font: 600 13px/1.4 "Segoe UI", sans-serif; letter-spacing: .6px; color: #f0f7ff; }
.hero-date span { font: 11px/1.5 "Microsoft YaHei UI",sans-serif; letter-spacing: 0; }
.hero-art { width: 100%; height: auto; max-height: 140px; justify-self: end; filter: drop-shadow(0 6px 5px #1d489021); }
.home-body { position: relative; margin: -17px var(--gutter) 0; }
.panel { background: white; border: 1px solid #ffffffc9; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 11px; }
.notice { display: grid; grid-template-columns: 24px auto minmax(0,1fr) 12px; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 9px 13px; text-align: left; }
.notice img { width: 24px; height: 24px; }
.notice b { font-size: 13px; }
.notice span { min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.notice i,.textbtn i,.dir-row i { color: #7990ad; font: 20px/1 Arial; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 13px 0; }
.metric { min-width: 0; text-align: left; padding: 0 clamp(8px,3vw,13px); }
.metric+.metric { border-left: 1px solid var(--line); }
.metric>span { display: block; font-size: 11px; color: var(--muted); }
.metric>strong { font: 650 clamp(20px,5.65vw,27px)/1.3 "Segoe UI",sans-serif; letter-spacing: -.6px; overflow-wrap: anywhere; }
.metric>small { color: var(--muted); font-size: 10px; margin-left: 3px; }
.section-h { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px 9px; gap: 8px; }
.section-h h2 { min-width: 0; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.section-h small,.textbtn { font-size: 11px; color: var(--muted); }
.textbtn { display: inline-flex; gap: 4px; align-items: center; flex: none; }
.textbtn i { font-size: 17px; }
.biz-cards { margin: 13px 0 12px; }
.biz-cards>.section-h { padding: 0 2px 8px; }
.features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.feature {
  display: grid; grid-template-columns: 22px minmax(0,1fr);
  grid-template-rows: auto minmax(60px,1fr); align-items: end;
  gap: 3px 6px; min-width: 0; padding: 12px 11px 8px; text-align: left;
  border-radius: 15px; border: 1px solid #c2d9f6; background: linear-gradient(135deg,#e5efff,#cee3fb 68%,#edf6ff);
}
.feature-1 { background: linear-gradient(135deg,#e2f6f1,#c9ece3 68%,#edfaf4); border-color: #b9dfd5; }
.feature>div { grid-column: 1/-1; align-self: start; min-width: 0; }
.feature h3 { font-size: 17px; color: #203f70; overflow-wrap: anywhere; }
.feature-1 h3 { color: #185d57; }
.feature small { display: block; font-size: 11px; margin-top: 2px; color: #476692; }
.feature-1 small { color: #387670; }
.feature-art { grid-area: 2/2; width: 100%; height: 67px; max-width: 106px; justify-self: end; object-position: bottom right; }
.circle-arrow { grid-area: 2/1; width: 21px; height: 21px; line-height: 18px; margin-bottom: 4px; font-size: 18px; text-align: center; color: #386bad; border-radius: 50%; background: #ffffffa9; }
.feature-1 .circle-arrow { color: #398175; }
.tiles { display: grid; grid-template-columns: repeat(var(--tile-columns,5),minmax(0,1fr)); gap: 13px 4px; padding: 7px 9px 15px; }
.tile { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.tile-icon { width: 37px; height: 37px; }
.desktop .hero { padding: 15px 30px 28px; border-radius: 0 0 17px 17px; }
.desktop .hero-main { grid-template-columns: minmax(0,1fr) minmax(160px,35%); min-height: 147px; gap: 16px; margin-top: 6px; }
.desktop .hero-copy h1 { font-size: 36px; }
.desktop .hero-art { height: 145px; }
.desktop .home-body { margin: -16px 20px 0; }
.desktop .dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(235px,1fr); gap: 14px; align-items: start; }
.desktop .pending { margin-top: 12px; }
.desktop .features { gap: 12px; }
.desktop .feature { grid-template-columns: minmax(0,1fr) minmax(50px,42%); grid-template-rows: auto auto; align-content: space-between; gap: 8px; min-height: 120px; padding: 12px; }
.desktop .feature>div { grid-area: 1/1; }
.desktop .feature-art { grid-area: 1/2/3/3; height: 82px; align-self: end; }
.desktop .metric { padding: 0 18px; }


.todo-row,.dir-row{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border-top:1px solid #f0f3f7;padding:12px 14px}.todo-row>div,.dir-row>span{flex:1;min-width:0}.todo-row b,.dir-row b,.records strong{font-size:13px;display:block}.todo-row small,.dir-row small,.records td:first-child small,.timeline small{display:block;color:var(--muted);font-size:11px}.list-icon,.directory-icon{width:32px;height:32px}.tag{font-size:10px;line-height:1.45;color:#295eb4;background:#ecf3ff;border-radius:5px;padding:3px 6px;display:inline-block;max-width:100%;overflow-wrap:anywhere}.tag.good{background:#e2f6ef;color:#117358}.tag.warn{background:#fff0dd;color:#9a510c}.bottom-nav{position:fixed;z-index:6;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;background:#fffffff5;box-shadow:0 -3px 20px #294f8212;border-top:1px solid #dfe7f0;padding:6px 6px max(6px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.bottom-nav button{min-width:54px;display:grid;justify-items:center;gap:1px;font-size:10px;color:#637187}.bottom-nav img{width:26px;height:26px;filter:saturate(.2);opacity:.68}.bottom-nav .active{color:var(--royal);font-weight:700}.bottom-nav .active img{filter:none;opacity:1}.page-top{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;position:sticky;top:0;background:#f6f9feef;z-index:4;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.page-top>div{display:flex;align-items:center;gap:10px;font-size:12px}.page-top>div button{font:26px/32px Arial;width:32px;background:white;border-radius:9px;border:1px solid var(--line)}.page-top>button{color:#325b90;background:#e3edfa;border-color:#d0dff2;font-size:11px}.sub-body{padding:12px;max-width:1500px;margin:auto}.page-lead{position:relative;overflow:hidden;background:linear-gradient(117deg,#e4edff,#edf7ff 78%,#d6ebff);padding:18px 85px 18px 17px;border:1px solid #d4e3f7;border-radius:16px;margin-bottom:12px;min-height:118px;display:flex;align-items:center}.page-main>.page-lead{margin:12px 12px 0}.page-lead h1,.doc-head h1{font-size:24px;letter-spacing:-.5px;font-weight:800}.eyeline{color:#446da4;font-size:10px;letter-spacing:1px;margin-bottom:4px}.page-lead p{color:#556980;font-size:12px;margin-top:4px}.lead-art{position:absolute;width:70px;height:70px;right:10px;bottom:16px}.searchbox{display:flex;align-items:center;gap:7px;min-width:0;background:#f1f5fa;border:1px solid #dfe7f1;border-radius:9px;padding:0 10px;height:37px;color:var(--sub)}.searchbox img{width:17px;height:17px}.search{width:100%;min-width:0;border:0;background:transparent;outline:0;font-size:12px}.chips{display:flex;gap:6px;overflow:auto;padding:12px 0;scrollbar-width:thin}.chips button{flex:none;border:1px solid var(--line);border-radius:20px;background:white;padding:4px 11px;font-size:12px;color:var(--muted)}.chips .on{color:white;background:var(--blue);border-color:var(--blue)}.empty{display:grid;justify-items:center;gap:8px;padding:27px 8px;color:var(--muted);font-size:12px}.empty img{width:45px;height:45px}.summary{margin-bottom:12px;background:linear-gradient(105deg,#2457bb,#3389d5);color:white;border-radius:14px;display:flex;flex-wrap:wrap;gap:12px 16px;padding:15px}.summary>div{min-width:85px;flex:1}.summary small,.summary b{display:block}.summary small{font-size:11px;color:#e3edff}.summary b{font-size:21px}.reg-head{padding:15px 12px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.reg-head h2 small{font:12px/1.4 'Segoe UI',sans-serif;border-radius:6px;background:#edf2fa;color:#5b6f8c;padding:2px 6px}.primary,.secondary,.pager button{border-radius:8px;padding:7px 12px;font-size:12px;font-weight:600}.primary{background:var(--blue);color:white}.secondary,.pager button{background:#edf3fc;color:#325e9c;border:1px solid #dbe5f3}.tools-line{display:flex;gap:7px;padding:0 12px 12px}.tools-line .searchbox{flex:1}.tools-line select,.form-control{border:1px solid #dbe4ef;border-radius:8px;background:white;padding:6px 7px;max-width:100%;font-size:12px}.records{width:100%;border-collapse:collapse}.records th,.records td{text-align:left;padding:10px 12px;font-size:12px;overflow-wrap:anywhere}.records th{background:#f5f8fc;color:var(--muted);font-weight:600;font-size:11px}.records td{border-top:1px solid #edf1f6}.records tr[data-open]{cursor:pointer}.records tr[data-open]:hover{background:#f4f8ff}.records .td-arrow{color:var(--sub)}.pager{display:flex;align-items:center;gap:10px;justify-content:center;padding:12px;font-size:12px}.doc-head{display:flex;align-items:center;gap:10px;padding:14px 2px 20px}.doc-head>div{flex:1}.doc-head small,.doc-head span:not(.tag){font-size:11px;color:var(--muted)}.doc-head h1{font-size:21px}.doc-icon{width:43px;height:43px}dl{padding:0 14px 8px}.field-row{display:grid;grid-template-columns:minmax(85px,31%) 1fr;gap:8px;border-top:1px solid #edf1f6;padding:9px 0;font-size:12px}.field-row dt{color:var(--muted)}.field-row dd{overflow-wrap:anywhere;white-space:pre-wrap}.link,a{color:var(--royal);text-decoration:none}.actionset{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 15px}.timeline{padding:8px 15px;border-top:1px solid var(--line);font-size:12px}.persona{text-align:center;padding:25px}.persona img{width:70px;height:70px;margin:0 auto 9px}.persona p{margin-top:4px;color:var(--muted)}.settings-row{display:flex;justify-content:space-between;padding:14px;width:100%;border-bottom:1px solid var(--line);font-size:13px}.settings-row span{color:var(--muted)}.scrim{position:fixed;inset:0;background:#10213e68;display:flex;align-items:center;justify-content:center;padding:15px;z-index:12}.sheet{border-radius:18px;background:white;width:min(500px,100%);max-height:90dvh;overflow:auto;box-shadow:0 15px 55px #13356030}.sheet-head{display:flex;align-items:center;justify-content:space-between;background:white;position:sticky;top:0;z-index:1;padding:15px 17px;border-bottom:1px solid var(--line)}.sheet-head button{font-size:20px;line-height:1;width:29px;height:29px;background:var(--bg);border-radius:50%}.sheet form,.sheet-body{padding:15px 17px}.form-field{display:grid;gap:4px;margin-bottom:13px;font-size:12px;font-weight:600}.form-field em{color:#d06727}.form-control{height:38px;font-size:13px;width:100%;font-weight:400}.form-control[type=checkbox]{width:20px;height:20px}.form-control[type=file]{height:auto}textarea.form-control{height:78px;resize:vertical}.form-note{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 14px}.form-error{color:#b13923;font-size:12px;padding:4px 0}.form-foot{display:flex;gap:9px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px;margin-top:6px}.locked{overflow:hidden}#live{position:fixed;z-index:20;bottom:80px;left:50%;transform:translateX(-50%);border-radius:12px;background:#142944f2;color:white;font-size:12px;padding:9px 17px;max-width:80%;opacity:0;pointer-events:none}#live.show{opacity:1}.side{position:fixed;inset:0 auto 0 0;width:175px;background:white;border-right:1px solid var(--line);padding:15px 9px;overflow:auto;z-index:3}.side-brand{display:flex;align-items:center;gap:8px;padding:6px 8px 19px;font-size:23px;letter-spacing:2px}.side-brand img{width:45px;height:40px}.side button{display:flex;align-items:center;gap:8px;text-align:left;width:100%;font-size:12px;padding:8px 12px;margin:1px 0;border-radius:8px}.side button.chosen{background:#e8f1ff;color:var(--royal);font-weight:700}.side button img{width:20px;height:20px}.side-rule{height:1px;background:var(--line);margin:13px 5px}.desktop .page-main{margin-left:175px;position:relative;padding-bottom:25px}.desktop .sub-body{padding:20px}.desktop .page-lead{min-height:128px;padding:20px 120px 20px 24px}.desktop .lead-art{width:90px;height:90px;right:22px}.desktop .directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.domain-panel{margin-bottom:12px;overflow-wrap:anywhere}.domain-panel table{width:100%;border-collapse:collapse}.domain-panel table th,.domain-panel table td{padding:5px;font-size:12px}.domain-panel button{color:var(--royal)}.domain-panel input,.domain-panel textarea,.domain-panel select{max-width:100%}.domain-panel>*{max-width:100%}
/* The same record must remain readable in its table, phone card, and form. */
.bottom-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); height: var(--nav-height); padding: 4px 8px calc(4px + env(safe-area-inset-bottom,0px)); }
.bottom-nav button { min-width: 0; align-content: center; min-height: 42px; }
.desktop .bottom-nav { display: none; }
.notice:focus-visible,.tile:focus-visible,.todo-row:focus-visible,.dir-row:focus-visible { outline-offset: -3px; }
.panel { min-width: 0; }
.todo-row>div,.dir-row>span,.doc-head>div,.timeline,.settings-row>span,.section-h h2,.record-heading>div { overflow-wrap: anywhere; min-width: 0; }
.todo-row .list-icon,.dir-row .directory-icon,.todo-row>.tag,.doc-head>.doc-icon,.searchbox img { flex-shrink: 0; }
.todo-row>.tag,.doc-head>.tag { max-width: 34%; text-align: center; }
.dir-row i,.notice i { justify-self: end; }
.page-lead,.desktop .page-lead {
  display: grid; grid-template-columns: minmax(0,1fr) clamp(49px,17vw,78px);
  align-items: center; gap: 10px; padding: 15px 14px;
}
.page-lead>div { min-width: 0; overflow-wrap: anywhere; }
.page-lead .lead-art,.desktop .page-lead .lead-art { position: static; width: 100%; height: auto; max-height: 75px; }
.desktop .page-lead { grid-template-columns: minmax(0,1fr) 92px; padding: 17px 24px; }
.desktop .page-lead .lead-art { max-height: 90px; }
.doc-head h1 { overflow-wrap: anywhere; }
.reg-head { flex-wrap: wrap; }
.record-heading>div small { overflow-wrap: anywhere; }
.record-heading .mobile-status { display: none; }
.table-wrap { min-width: 0; }
.record-heading { min-width: 0; }
.records td .cell-value { white-space: normal; overflow-wrap: anywhere; }
.field-row { grid-template-columns: minmax(70px,31%) minmax(0,1fr); }
.field-row>* { min-width: 0; overflow-wrap: anywhere; }
.field-row a,.field-row .link { max-width: 100%; overflow-wrap: anywhere; }
.summary { gap: 10px 14px; }
.summary>div { min-width: 0; flex: 1 1 105px; }
.summary b { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary b.compact { font-size: clamp(14px,3.7vw,19px); }
.tools-line { align-items: stretch; flex-wrap: wrap; }
.tools-line .searchbox { flex: 1 1 140px; }
.tools-line select { width: auto; max-width: 48%; }
.chips { flex-wrap: wrap; overflow: visible; row-gap: 6px; }
.chips button { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.sheet,.sheet form,.sheet-body,.form-field,.form-control,.sheet-head h2 { min-width: 0; }
.sheet { overscroll-behavior: contain; scroll-padding-block: 62px 12px; scrollbar-width: thin; }
.sheet .form-foot { flex-wrap: wrap; }
.sheet .form-foot button { max-width: 100%; white-space: normal; }
.sheet-head { gap: 10px; }
.sheet-head h2 { overflow-wrap: anywhere; }
.sheet-head button { flex: none; }
.form-field { grid-template-columns: minmax(0,1fr); }
.form-control { box-sizing: border-box; }
.form-field:has(textarea) { min-height: 0; }
html:has(body.locked) { overflow: hidden; }
.handheld .sheet { scrollbar-width: none; }
.handheld .sheet::-webkit-scrollbar { display: none; }
@media (min-width: 641px) {
  body:not(.desktop) .home-body { max-width: 1050px; margin-inline: auto; padding-inline: 18px; }
  body:not(.desktop) .hero { padding-inline: max(20px,calc((100% - 1014px)/2)); }
  body:not(.desktop) .hero-art { max-width: 300px; }
}
@media (max-width: 1040px) {
  .desktop .dashboard-grid { display: block; }
  .desktop .pending { margin-top: 0; }
}
@media (max-width: 760px) {
  .desktop .side { display: none; }
  .desktop .page-main { margin-left: 0; padding-bottom: calc(var(--nav-height) + 8px); }
  .desktop .bottom-nav { display: grid; }
  .desktop .sub-body { padding: 12px; }
  .desktop .hero { padding: 13px calc(var(--gutter) + 3px) 27px; }
  .desktop .hero-main { grid-template-columns: minmax(0,1.28fr) minmax(0,1fr); min-height: 133px; gap: 4px; }
  .desktop .hero-copy h1 { font-size: clamp(22px,7.45vw,34px); }
  .desktop .hero-art { height: auto; }
  .desktop .home-body { margin: -17px var(--gutter) 0; }
  .desktop .directory-list { display: block; }
  .desktop .page-lead { padding: 15px 14px; grid-template-columns: minmax(0,1fr) 62px; }
}
@media (max-width: 640px) {
  .records,.records tbody { display: block; }
  .records thead,.records .td-arrow,.records .status-cell { display: none; }
  .records tr {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 5px 11px; padding: 12px 13px; border-top: 1px solid var(--line);
  }
  .records td { display: block; padding: 0; border: none; min-width: 0; font-size: 12px; }
  .records td:first-child { grid-column: 1 / -1; }
  .record-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 9px; }
  .record-heading .mobile-status { display: block; max-width: 85px; text-align: end; }
  .records td[data-label] { font-size: 11px; color: #485c76; }
  .records td[data-label]::before { content: attr(data-label); color: var(--muted); margin-right: 4px; }
  .records td[data-label]:last-of-type { min-width: 0; }
  .page-top { gap: 8px; }
  .page-top>div { min-width: 0; }
  .page-top>div button { flex: none; }
  .scrim { padding: 0; align-items: flex-end; }
  .sheet { width: 100%; border-radius: 18px 18px 0 0; max-height: calc(100dvh - 14px); padding-bottom: env(safe-area-inset-bottom,0px); }
  .sheet-head { padding-block: 12px; }
  .summary { display: flex; flex-wrap: wrap; gap: 11px 14px; padding: 14px; }
  .summary>div { flex: 1 1 max-content; max-width: 100%; }
  .summary b { font-size: 20px; }
  .summary b.compact { font-size: 16px; }
  .summary small { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .home-top { gap: 6px; }
  .feature h3,.desktop .feature h3 { font-size: 16px; }
  .tile { font-size: 10px; }
  .metric { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }


.op-panel{padding:16px;margin:10px 0;background:linear-gradient(116deg,#f3f9ff,#fff);border:1px solid #e0ebf6;border-radius:14px}.op-panel h3{font-size:14px;line-height:1.5;margin:0 0 9px;color:#1c3754}.op-links{display:flex;gap:6px;flex-wrap:wrap}.op-link{border:1px solid #d5e7fc;background:white;color:#216cca;padding:8px 11px;border-radius:9px;font:inherit;font-size:12px;cursor:pointer}.op-link:hover{background:#e4f0ff}.op-kpis{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.op-kpis>div{flex:1 1 max-content;max-width:100%;display:flex;flex-direction:column;gap:5px;padding:12px 8px;border-radius:10px;border:1px solid #dce9f5;background:linear-gradient(130deg,#f0f7ff,#fff)}.op-kpis small{font-size:11px;color:#52677e}.op-kpis b{white-space:nowrap;color:#1d5caf;font-size:clamp(14px,2vw,21px);font-variant-numeric:tabular-nums}
.op-distbar,.op-cut{display:flex;overflow:hidden;height:11px;border-radius:5px;background:#edf3f7;gap:2px}.op-distbar i,.op-cut>*{min-width:0}.op-key{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:10px}.op-key span{max-width:100%;overflow-wrap:anywhere;font-size:11px;color:#52697e}.op-key span i{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:3px}.op-key b{font-weight:650;color:#283e54}.op-cut{height:27px;gap:2px;border-radius:4px}.op-cut b{background:linear-gradient(110deg,#b9deff,#579ee3);font-size:11px;color:#163c69;text-align:center;line-height:27px}.op-cut i{background:repeating-linear-gradient(-45deg,#e6ebef,#e6ebef 3px,#f4f7fa 3px,#f4f7fa 6px)}
.form-field[hidden]{display:none!important}
.op-terminal,.op-matcher{background:linear-gradient(142deg,#f2f9ff,#fff 65%);border-color:#cfdef3;padding:15px;box-shadow:0 3px 10px #294e8410}.op-headline,.op-result-head,.op-offer-top,.op-offer-foot,.op-scanhelp{display:flex;justify-content:space-between;align-items:center;gap:8px}.op-headline small,.op-result-head small,.op-offer-top small{display:block;color:#54708d;font-size:10px;letter-spacing:.05em}.op-headline h3{font-size:19px;margin:3px 0 10px;color:#14395a}.op-headline>span,.op-result-head>b,.op-offer-top>span{flex:none;font-weight:600;font-size:11px;line-height:1.4;background:#eaf2ff;color:#2867ad;border-radius:6px;padding:4px 7px;white-space:nowrap}.op-result-head>b,.op-offer-top>span{background:#e1f6ef;color:#116953}.op-offer-top>span.warm{background:#fff3dd;color:#875711}.op-scanform label,.op-iobar label,.op-demand{display:grid;gap:4px;color:#3e5b76;font-size:12px;font-weight:600}.op-scanform>div,.op-iobar{display:flex;align-items:end;gap:7px;margin-top:5px}.op-terminal input,.op-terminal select,.op-demand select{box-sizing:border-box;min-width:0;border:1px solid #b8cde5;border-radius:8px;height:40px;background:white;font:inherit;color:#21344d;padding:0 8px}.op-scanform input{flex:1;font-size:15px}.domain-panel button.op-primary{color:white;background:linear-gradient(120deg,#2779ec,#235dcc);border-radius:8px;padding:0 14px;height:40px;font-weight:600}.op-scanhelp{flex-wrap:wrap;font-size:11px;color:#607790;margin-top:7px}.op-scanhelp button{font-size:12px;color:#1b60b6}.op-scanned,.op-offer{border:1px solid #d8e5ec;background:#fff;border-radius:12px;padding:12px;margin-top:12px}.op-scanned h4,.op-offer h4{font-size:15px;color:#203b56;margin:2px 0}.op-result-head small{color:#138a66}.op-detailchips,.op-match-metrics{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.op-detailchips span{max-width:100%;overflow-wrap:anywhere;background:#f0f5f9;padding:2px 7px;color:#4e697f;border-radius:5px;font-size:11px}.op-scanned .op-kpis{margin:8px 0}.op-scanned .op-kpis>div{border:none;background:#f5f8fc;padding:6px}.op-scanned .op-kpis b{font-size:14px}.op-iobar label{flex:1 1 125px;min-width:0}.op-iobar{flex-wrap:wrap}.op-iobar select{width:100%}.op-iobar .op-primary{flex:0 0 auto}.op-error{font-size:12px;color:#a34222;background:#fff4e9;border-radius:8px;margin:8px 0 0;padding:8px}.op-demand select{width:100%;font-size:13px}.op-demand-line,.op-offer p{color:#516d80;font-size:11px;margin:7px 0 0}.op-offer-top{display:grid;grid-template-columns:34px minmax(0,1fr) max-content}.op-result-head>div,.op-headline>div{min-width:0}.op-offer-top h4,.op-scanned h4{overflow-wrap:anywhere}.op-offer-top img{height:34px;width:34px;object-fit:contain}.op-offer-top>span{margin-left:auto}.op-match-metrics{border-radius:8px;padding:7px 10px;background:#f3f7fa;gap:16px}.op-match-metrics span{min-width:0;max-width:100%;font-size:11px;color:#5c7388}.op-match-metrics b{display:block;white-space:nowrap;color:#1e3a58;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.op-offer-foot{margin-top:8px;flex-wrap:wrap}.op-offer-foot>*{max-width:100%}.op-offer-foot button{font-size:12px;min-height:28px}.op-offer-foot .op-link{border:none;padding:0;background:transparent}.op-offer-foot button:last-child:not(:first-child){color:#154e9e;background:#eaf2fd;padding:4px 10px;border-radius:6px}

.mg-panel {
  container: report-panel / inline-size;
  min-inline-size: 0;
  margin: 0 0 12px;
  padding: 16px clamp(14px, 2vw, 20px);
  color: #172b4a;
  border: 1px solid #dce9fb;
  border-radius: 16px;
  background: linear-gradient(126deg, #f3f8ff, #fff 77%);
}
.mg-panel > small { display: block; color: #4e6d99; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.mg-panel h3 { margin: 5px 0 13px; font-size: 17px; line-height: 1.4; }
.mg-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-links button, .mg-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 12px;
  font-size: 12px;
  color: #154fa5;
  border: 1px solid #cfe0fb;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.mg-upload { position: relative; overflow: hidden; }
.mg-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mg-import { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.mg-import > label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; color: #394f6e; font-size: 12px; font-weight: 600; }
.mg-import select, .mg-import textarea {
  min-width: 0;
  width: 100%;
  padding: 8px;
  font: inherit;
  color: #223952;
  border: 1px solid #c5d6ef;
  border-radius: 8px;
  background: #fff;
}
.mg-import textarea { resize: vertical; }
.mg-import p { margin: 0; color: #4b6485; font-size: 12px; line-height: 1.6; }
.mg-bars {
  display: grid;
  grid-template-columns: fit-content(32%) minmax(0, 1fr) max-content;
  gap: 9px 12px;
}
.mg-bars > div {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  font-size: 12px;
}
.mg-bars label { color: #53708f; }
.mg-bars i, .mg-pair i { display: block; height: 7px; overflow: hidden; border-radius: 5px; background: #e3eeff; }
.mg-bars b, .mg-pair b { display: block; height: 100%; border-radius: inherit; }
.mg-bars b { background: linear-gradient(90deg, #3177ea, #69b5fd); }
.mg-bars strong, .mg-share li b, .mg-share li small, .mg-pair small {
  white-space: nowrap;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.mg-panel :focus-visible { outline: 2px solid #1d63cf; outline-offset: 2px; }
.mg-panel .mg-bars + .mg-links, .mg-panel .mg-share + .mg-links {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #dce7f5;
}
.mg-share { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(14px, 3vw, 40px); row-gap: 12px; }
.mg-donut {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px #ffffff90;
}
.mg-donut > span {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 76%;
  height: 76%;
  text-align: center;
  border-radius: 50%;
  background: #f9fcff;
}
.mg-donut b { color: #16395f; font-size: 19px; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-donut small { color: #587293; font-size: 10px; }
.mg-share ul {
  flex: 1 1 200px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) max-content max-content;
  gap: 8px 7px;
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.mg-share li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; font-size: 12px; }
.mg-share li i { width: 7px; height: 7px; border-radius: 50%; }
.mg-share li small { color: #5b728f; font-size: 11px; }
.mg-share li b { font-size: 12px; }
.mg-legend { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-bottom: 11px; color: #536d8d; font-size: 11px; }
.mg-legend span:before { display: inline-block; width: 10px; height: 7px; margin-right: 5px; border-radius: 2px; background: #2375e5; content: ''; }
.mg-legend span + span:before { background: #25a49c; }
.mg-compare { display: grid; grid-template-columns: fit-content(28%) minmax(0, 1fr) max-content; column-gap: 12px; }
.mg-compare .mg-legend { grid-column: 1 / -1; }
.mg-pair { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; row-gap: 4px; margin: 4px 0 10px; }
.mg-pair > strong { grid-row: span 2; font-size: 12px; }
.mg-pair > div { display: grid; grid-column: 2 / 4; grid-template-columns: subgrid; align-items: center; }
.mg-pair .g0 { background: #2375e5; }
.mg-pair .g1 { background: #25a49c; }
.mg-pair small { color: #385470; font-size: 11px; }

@container report-panel (max-width: 500px) {
  .mg-bars { grid-template-columns: minmax(0, 1fr) max-content; row-gap: 13px; }
  .mg-bars > div { row-gap: 4px; }
  .mg-bars i { grid-row: 2; grid-column: 1 / -1; }
  .mg-bars strong { grid-row: 1; grid-column: 2; }
  .mg-share { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .mg-donut { width: 96px; height: 96px; align-self: center; }
  .mg-donut b { font-size: 16px; }
  .mg-share ul { grid-template-columns: 7px minmax(0, 1fr) max-content; row-gap: 6px; column-gap: 5px; }
  .mg-share li { row-gap: 0; }
  .mg-share li span { grid-column: 2; }
  .mg-share li b { grid-column: 3; }
  .mg-share li small { grid-column: 2 / -1; text-align: start; }
  .mg-compare { grid-template-columns: minmax(0, 1fr) max-content; }
  .mg-pair { padding-bottom: 6px; border-bottom: 1px solid #e3eaf3; }
  .mg-pair:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
  .mg-pair > strong { grid-column: 1 / -1; grid-row: auto; }
  .mg-pair > div { grid-column: 1 / -1; }
}
@container report-panel (max-width: 295px) {
  .mg-share { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mg-share ul { width: 100%; }
}

