:root{
  --bg:#eef6fb;
  --paper:#fff;
  --ink:#0b1d35;
  --text:#253a55;
  --muted:#687a91;
  --line:#dce8f2;
  --blue:#1599d6;
  --blue-dark:#0d5da8;
  --teal:#19b8c5;
  --green:#21b978;
  --amber:#f59e0b;
  --soft-blue:#eaf7ff;
  --soft-teal:#e7fbfc;
  --soft-green:#eafaf2;
  --shadow:0 18px 54px rgba(13,57,104,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 16% 0,rgba(21,153,214,.12),transparent 28%),linear-gradient(180deg,#f8fcff 0%,var(--bg) 100%);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Segoe UI",Roboto,sans-serif;letter-spacing:-.025em}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.skip-link{position:absolute;left:-999px;top:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;z-index:100}.skip-link:focus{left:12px}
.workspace-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}
.workspace-sidebar{position:sticky;top:0;height:100vh;padding:22px 18px;display:flex;flex-direction:column;gap:18px;background:rgba(255,255,255,.90);border-right:1px solid rgba(220,232,242,.92);box-shadow:12px 0 40px rgba(10,35,64,.04);backdrop-filter:blur(18px)}
.workspace-brand{display:flex;align-items:center;gap:13px;padding:10px 8px 14px}.brand-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));font-weight:950;box-shadow:0 14px 32px rgba(21,153,214,.24)}.workspace-brand b{display:block;font-size:17px;line-height:1.05}.workspace-brand small{display:block;margin-top:3px;color:#6b7c90;font-weight:800;font-size:12px}.tenant-card{padding:18px;border:1px solid #dceaf5;border-radius:22px;background:linear-gradient(180deg,#f8fcff,#eef8ff)}.tenant-card span{display:block;color:#748399;font-size:12px;font-weight:900}.tenant-card strong{display:block;margin:7px 0 7px;font-size:21px}.tenant-card p{margin:0;color:#53677e;line-height:1.45;font-size:13px;font-weight:700}.workspace-nav{display:grid;gap:8px;margin-top:4px}.workspace-nav a{display:flex;align-items:center;gap:11px;min-height:44px;padding:0 12px;border-radius:15px;color:#324a65;font-weight:900}.workspace-nav a span{display:grid;place-items:center;width:27px;height:27px;border-radius:10px;background:#edf5fb;color:#2b718e}.workspace-nav a:hover,.workspace-nav a.active{background:linear-gradient(135deg,#e7f8ff,#e8fbf7);color:#07365f}.workspace-nav a.active span{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff}.support-card{margin-top:auto;padding:18px;border-radius:22px;border:1px solid #dce8f2;background:#fff;box-shadow:0 12px 34px rgba(10,35,64,.06)}.support-card b{display:block;font-size:15px}.support-card p{color:#62758a;font-size:13px;line-height:1.55;margin:8px 0 14px}.support-card a{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;font-weight:950}
.workspace-main{min-width:0}.workspace-topbar{position:sticky;top:0;z-index:20;min-height:78px;padding:15px clamp(22px,3vw,34px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(248,252,255,.86);border-bottom:1px solid rgba(220,232,242,.9);backdrop-filter:blur(16px)}.workspace-topbar h1{margin:0;font-size:24px;letter-spacing:-.04em}.workspace-topbar p{margin:4px 0 0;color:#718197;font-size:13px;font-weight:750}.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:8px;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 10px 28px rgba(10,35,64,.05)}.search-box input{border:0;outline:0;width:min(320px,22vw);background:transparent;color:var(--ink);font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#0c233e;font-weight:950;box-shadow:0 10px 28px rgba(10,35,64,.06);white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn.primary{border:0;color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue-dark));box-shadow:0 16px 34px rgba(21,153,214,.22)}.btn.primary.soft{background:linear-gradient(135deg,#15a38e,#21b978)}.btn.white{background:#fff}.mini-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#23405d;font-weight:950;box-shadow:0 8px 22px rgba(10,35,64,.05);cursor:pointer}
.workspace-content{padding:26px clamp(22px,3vw,34px) 38px}.hero-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.55fr);gap:24px;align-items:stretch;padding:36px;border-radius:32px;background:linear-gradient(135deg,#ffffff 0%,#f3fbff 55%,#edfafa 100%);border:1px solid #dbeaf5;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-panel:after{content:"";position:absolute;right:-100px;top:-110px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(25,184,197,.20),transparent 68%)}.hero-copy{position:relative;z-index:1}.kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#e8f8ff;color:#0d80b5;border:1px solid #caecf8;font-size:12px;font-weight:950;letter-spacing:.08em}.kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.hero-panel h2{margin:18px 0 14px;font-size:clamp(34px,3.25vw,58px);line-height:1.06;letter-spacing:-.07em}.hero-panel p{margin:0;max-width:780px;color:#486178;font-size:17px;line-height:1.72;font-weight:720}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.chip-row span{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border-radius:999px;background:#f6fbff;border:1px solid #d8e9f5;color:#33516c;font-weight:900;font-size:13px}.ops-card{position:relative;z-index:1;display:flex;flex-direction:column;gap:16px;padding:22px;border-radius:24px;background:rgba(255,255,255,.72);border:1px solid rgba(216,232,244,.9);box-shadow:0 16px 44px rgba(10,35,64,.07);backdrop-filter:blur(10px)}.ops-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ops-card-head strong{font-size:17px}.ops-card-head span{color:#74849a;font-size:12px;font-weight:850}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ops-grid div{padding:18px;border-radius:18px;background:#f7fbff;border:1px solid #e1ecf5}.ops-grid span{display:block;color:#65768c;font-weight:850;font-size:12px}.ops-grid b{display:block;margin:8px 0 2px;font-size:28px;letter-spacing:-.04em}.ops-grid small{color:#7d8da0;font-weight:750}.stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}.stat-card{position:relative;min-height:150px;padding:24px;border-radius:24px;background:#fff;border:1px solid #dce8f2;box-shadow:0 14px 40px rgba(10,35,64,.06)}.stat-card span{display:block;color:#334c67;font-weight:950}.stat-card b{display:block;margin:25px 0 4px;font-size:36px;letter-spacing:-.05em}.stat-card small{color:#718197;font-weight:800}.stat-card em{position:absolute;right:18px;top:18px;padding:6px 10px;border-radius:999px;font-style:normal;font-size:12px;font-weight:950}.stat-card.blue em{background:#e7f4ff;color:#116aa5}.stat-card.amber em{background:#fff5e6;color:#b56c07}.stat-card.green em{background:#e8f8f0;color:#138457}.stat-card.gray em{background:#eef3f7;color:#64748b}.two-column{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(420px,.95fr);gap:18px;margin-top:20px}.panel{background:#fff;border:1px solid #dce8f2;border-radius:24px;box-shadow:0 14px 40px rgba(10,35,64,.06)}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 0}.panel-head h3{margin:0;font-size:20px}.panel-head p{margin:6px 0 0;color:#708196;font-weight:750;font-size:13px}.quick-list{display:grid;gap:10px;padding:22px}.quick-list a{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:center;min-height:72px;padding:14px;border-radius:18px;background:#f7fbff;border:1px solid #dce8f2}.quick-list a:hover{border-color:#a8d9ee;background:#eef9ff}.quick-list span{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#e1f5ff;color:#147daf;font-weight:950}.quick-list b{font-size:16px}.quick-list small{color:#718197;font-weight:750}.timeline{list-style:none;margin:0;padding:20px 24px 22px;display:grid;gap:0}.timeline li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #edf3f8}.timeline li:last-child{border-bottom:0}.timeline li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e4f6ff;color:#0a7cac;font-weight:950;font-size:12px}.timeline b{display:block;font-size:14px}.timeline small{display:block;margin-top:4px;color:#72839a;font-weight:750}.recent-panel{margin-top:20px}.recent-head{padding-bottom:12px}.table-wrap{padding:0 18px 18px;overflow:auto}.contract-table{width:100%;border-collapse:separate;border-spacing:0 10px;min-width:920px}.contract-table th{padding:0 14px 6px;text-align:left;color:#718197;font-size:12px;font-weight:950}.contract-table td{padding:17px 14px;background:#fbfdff;border-top:1px solid #e0ebf3;border-bottom:1px solid #e0ebf3;color:#263b55;font-weight:800}.contract-table td:first-child{border-left:1px solid #e0ebf3;border-radius:16px 0 0 16px}.contract-table td:last-child{border-right:1px solid #e0ebf3;border-radius:0 16px 16px 0}.subline{display:block;margin-top:4px;color:#7b8ba0;font-size:12px;font-weight:750}.status-pill{display:inline-flex;align-items:center;min-width:160px;min-height:28px;padding:0 12px;border-radius:999px;font-weight:950;font-size:12px}.status-pill.wait{background:#fff3df;color:#af6400}.status-pill.view{background:#eaf5ff;color:#1468a8}.status-pill.done{background:#e8faef;color:#128552}.status-pill.draft{background:#edf3f8;color:#5c6d7f}.status-pill.issue{background:#fff0f0;color:#c24141}.status-pill.signed{background:#eef2ff;color:#3949ab}.detail-link{color:#0d76b3;font-weight:950}.empty-cell{text-align:center;color:#73859b;padding:34px!important}.next-step{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#ffffff,#f1fbff);border:1px solid #dce8f2;box-shadow:0 14px 40px rgba(10,35,64,.06)}.next-step h3{margin:0 0 8px;font-size:22px}.next-step p{margin:0;color:#65768c;font-weight:750;line-height:1.55}.next-step>div:last-child{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:1180px){.workspace-shell{grid-template-columns:1fr}.workspace-sidebar{position:relative;height:auto;display:block;padding:14px 16px}.workspace-brand{display:inline-flex}.tenant-card,.support-card{display:none}.workspace-nav{display:flex;overflow:auto;gap:8px;margin:8px 0 0;padding-bottom:4px}.workspace-nav a{white-space:nowrap}.workspace-topbar{position:relative;display:grid}.topbar-actions{justify-content:flex-start}.search-box input{width:260px}.hero-panel,.two-column{grid-template-columns:1fr}.ops-grid,.stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.workspace-content{padding:16px}.workspace-topbar{padding:14px 16px}.topbar-actions{display:grid;grid-template-columns:1fr;width:100%}.search-box{width:100%}.search-box input{width:100%}.hero-panel{padding:22px;border-radius:24px}.hero-panel h2{font-size:34px}.hero-actions,.next-step,.next-step>div:last-child{display:grid;grid-template-columns:1fr}.btn{width:100%}.ops-grid,.stat-strip{grid-template-columns:1fr}.stat-card{min-height:130px}.panel-head{display:grid}.quick-list{padding:16px}.timeline{padding:14px 18px 18px}.workspace-nav a{font-size:13px}.contract-table{min-width:760px}}


/* v8 mobile product-grade dashboard fixes */
@media (max-width:900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden;background:#eef7fc;}
  body{font-size:15px;}
  .workspace-shell{display:block;min-height:100vh;width:100%;}
  .workspace-sidebar{position:sticky;top:0;z-index:50;height:auto;display:block;padding:13px 13px 10px;background:rgba(255,255,255,.97);border-right:0;border-bottom:1px solid #dce8f2;box-shadow:0 10px 30px rgba(10,35,64,.08);backdrop-filter:blur(14px);}
  .workspace-brand{display:flex;width:100%;gap:11px;align-items:center;padding:2px 1px 10px;}
  .brand-symbol{width:42px;height:42px;min-width:42px;border-radius:15px;font-size:20px;box-shadow:0 10px 26px rgba(21,153,214,.22);}
  .workspace-brand b{font-size:19px;letter-spacing:-.035em;}
  .workspace-brand small{font-size:12px;margin-top:2px;}
  .tenant-card,.support-card{display:none!important;}
  .workspace-nav{display:flex;overflow-x:auto;gap:7px;margin:0 -2px;padding:0 2px 4px;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;}
  .workspace-nav::-webkit-scrollbar{display:none;}
  .workspace-nav a{flex:0 0 auto;scroll-snap-align:start;min-height:38px;padding:0 11px;border-radius:999px;border:1px solid #dbeaf5;background:#fff;color:#28425f;font-size:13px;font-weight:950;box-shadow:0 6px 16px rgba(10,35,64,.05);white-space:nowrap;}
  .workspace-nav a span{width:22px;height:22px;border-radius:8px;font-size:12px;}
  .workspace-nav a.active{background:linear-gradient(135deg,#e6fbff,#eafbf3);}
  .workspace-main{width:100%;min-width:0;}
  .workspace-topbar{position:relative;display:block;min-height:auto;padding:17px 14px 15px;background:linear-gradient(180deg,#f9fdff,#f0f9ff);border-bottom:1px solid #dce8f2;}
  .workspace-topbar h1{font-size:25px;line-height:1.16;margin:0;letter-spacing:-.055em;}
  .workspace-topbar p{margin-top:6px;font-size:14px;line-height:1.45;color:#60738b;}
  .topbar-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;margin-top:14px;}
  .search-box{grid-column:1/-1;width:100%;height:48px;padding:0 14px;border-radius:18px;box-shadow:0 8px 22px rgba(10,35,64,.05);}
  .search-box input{width:100%;min-width:0;font-size:15px;}
  .topbar-actions .btn{width:100%;min-height:48px;padding:0 10px;font-size:14px;}
  .topbar-actions .btn.white{grid-column:1/-1;}
  .workspace-content{padding:14px 12px 24px;width:100%;min-width:0;}
  .hero-panel{display:block;width:100%;padding:18px 14px 16px;border-radius:22px;background:linear-gradient(180deg,#ffffff,#f2fbff);box-shadow:0 12px 30px rgba(10,35,64,.08);overflow:hidden;}
  .hero-panel:after{width:190px;height:190px;right:-82px;top:-72px;opacity:.9;}
  .kicker{padding:6px 10px;font-size:10px;letter-spacing:.06em;}
  .hero-panel h2{margin:11px 0 9px;font-size:28px!important;line-height:1.14;letter-spacing:-.065em;}
  .hero-panel p{max-width:none;font-size:14.5px;line-height:1.62;color:#506982;}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:15px;}
  .hero-actions .btn{min-height:48px;font-size:15px;}
  .chip-row{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin-top:12px;padding-bottom:2px;-webkit-overflow-scrolling:touch;}
  .chip-row::-webkit-scrollbar{display:none;}
  .chip-row span{flex:0 0 auto;min-height:32px;padding:0 11px;font-size:12px;background:#fff;}
  .ops-card{margin-top:15px;padding:15px;border-radius:20px;background:#fff;border-color:#dce8f2;box-shadow:0 10px 26px rgba(10,35,64,.06);}
  .ops-card-head{align-items:flex-start;}
  .ops-card-head strong{font-size:17px;}
  .ops-card-head span{font-size:11px;white-space:nowrap;}
  .ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px;}
  .ops-grid div{min-width:0;padding:13px;border-radius:16px;background:#f8fcff;}
  .ops-grid span{font-size:11px;line-height:1.25;}
  .ops-grid b{margin:7px 0 1px;font-size:28px;}
  .ops-grid small{font-size:11px;line-height:1.3;}
  .stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;margin-top:14px;}
  .stat-card{min-height:108px!important;padding:15px;border-radius:18px;box-shadow:0 10px 26px rgba(10,35,64,.05);}
  .stat-card span{font-size:14px;line-height:1.25;}
  .stat-card b{margin:18px 0 0;font-size:34px;line-height:1;}
  .stat-card small{font-size:12px;}
  .stat-card em{right:11px;top:11px;padding:5px 8px;font-size:10px;}
  .two-column{display:block;margin-top:14px;}
  .panel{width:100%;margin-top:14px;border-radius:20px;box-shadow:0 10px 26px rgba(10,35,64,.06);overflow:hidden;}
  .panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 16px 0;}
  .panel-head h3{font-size:21px;line-height:1.2;}
  .panel-head p{font-size:13.5px;line-height:1.45;}
  .mini-btn{min-height:38px;padding:0 12px;font-size:13px;white-space:nowrap;}
  .quick-list{padding:15px;gap:9px;}
  .quick-list a{grid-template-columns:42px minmax(0,1fr);min-height:68px;padding:12px;border-radius:16px;}
  .quick-list span{width:42px;height:42px;border-radius:15px;}
  .quick-list b{font-size:16px;line-height:1.2;}
  .quick-list small{font-size:13px;line-height:1.35;}
  .timeline{padding:10px 16px 16px;}
  .timeline li{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px 0;}
  .timeline li>span{width:28px;height:28px;}
  .timeline b{font-size:15px;line-height:1.25;}
  .timeline small{font-size:12px;line-height:1.42;word-break:keep-all;}
  .recent-panel{margin-top:14px;}
  .recent-head{display:block;padding-bottom:0;}
  .recent-head .mini-btn{display:flex;width:100%;margin-top:12px;}
  .table-wrap{padding:0 14px 16px;overflow:visible;}
  .contract-table{display:block;width:100%;min-width:0;border-collapse:separate;border-spacing:0;}
  .contract-table thead{display:none;}
  .contract-table tbody,.contract-table tr,.contract-table td{display:block;width:100%;}
  .contract-table tr{margin:0 0 12px;padding:14px;background:#fbfdff;border:1px solid #dce8f2;border-radius:18px;box-shadow:0 8px 20px rgba(10,35,64,.04);}
  .contract-table td{padding:7px 0!important;border:0!important;background:transparent!important;color:#243d5a;}
  .contract-table td:first-child,.contract-table td:last-child{border-radius:0!important;}
  .contract-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;color:#71839a;font-size:11px;font-weight:950;letter-spacing:-.01em;}
  .contract-table td:first-child b{font-size:18px;}
  .subline{font-size:12px;line-height:1.35;}
  .status-pill{min-width:0;min-height:30px;padding:0 11px;font-size:12px;}
  .detail-link{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #cae4f4;border-radius:999px;background:#fff;color:#0d76b3;}
  .empty-cell{padding:24px 12px!important;}
  .next-step{display:block;margin-top:14px;padding:18px 16px;border-radius:20px;}
  .next-step h3{font-size:21px;line-height:1.24;}
  .next-step p{font-size:13.5px;line-height:1.5;}
  .next-step>div:last-child{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px;}
  .next-step .btn{width:100%;}
}
@media (max-width:480px){
  .workspace-sidebar{padding:12px 12px 9px;}
  .workspace-brand b{font-size:18px;}
  .workspace-brand small{font-size:11px;}
  .brand-symbol{width:40px;height:40px;min-width:40px;border-radius:14px;}
  .workspace-nav a{font-size:12px;min-height:36px;padding:0 10px;}
  .workspace-topbar{padding:15px 12px 13px;}
  .workspace-topbar h1{font-size:23px;}
  .topbar-actions{grid-template-columns:1fr;}
  .topbar-actions .btn.white{grid-column:auto;}
  .workspace-content{padding:12px 10px 22px;}
  .hero-panel{padding:16px 13px;border-radius:20px;}
  .hero-panel h2{font-size:25px!important;}
  .ops-grid,.stat-strip{gap:8px;}
  .ops-grid div{padding:12px 10px;}
  .stat-card{padding:14px 12px;min-height:104px!important;}
  .stat-card b{font-size:32px;}
  .panel-head{padding:17px 14px 0;}
  .quick-list{padding:14px;}
  .table-wrap{padding:0 12px 14px;}
}


/* v9 mobile polish + og deployment support */
@media (max-width: 860px){
  .workspace-topbar{box-shadow:none;}
  .topbar-actions{grid-template-columns:1fr;}
  .topbar-actions .btn{min-height:46px;}
  .topbar-actions .btn.white,.topbar-actions .btn.primary,.topbar-actions .btn.primary.soft{grid-column:auto;}
  .hero-actions .btn,.next-step .btn,.recent-head .mini-btn,.quick-list a,.mini-btn{min-height:46px;}
  .ops-grid{grid-template-columns:1fr 1fr!important;}
  .stat-strip{grid-template-columns:1fr 1fr!important;}
}
@media (max-width: 560px){
  body{font-size:15px;}
  .workspace-topbar p,.hero-panel p,.panel-head p,.next-step p,.quick-list small,.timeline small{word-break:keep-all;}
  .ops-grid{grid-template-columns:1fr!important;}
  .stat-strip{grid-template-columns:1fr!important;}
  .search-box input{font-size:16px;}
  .detail-link{min-height:44px;}
  .contract-table tr{padding:12px;}
}


/* v10 product mobile polish: safe CSS only, no workflow changes */
:root{
  --mobile-gutter: clamp(12px, 3.8vw, 18px);
}
html, body{
  max-width:100%;
  overflow-x:hidden;
}
img, svg, canvas, iframe, video{
  max-width:100%;
}
input, textarea, select{
  max-width:100%;
}
@media (max-width: 960px){
  .workspace-shell,
  .workspace-main,
  .workspace-content,
  .workspace-topbar,
  .hero-panel,
  .panel,
  .recent-panel,
  .next-step{
    max-width:100%;
    min-width:0;
  }
  .workspace-content{
    padding-left:var(--mobile-gutter);
    padding-right:var(--mobile-gutter);
  }
  .workspace-topbar{
    padding-left:var(--mobile-gutter);
    padding-right:var(--mobile-gutter);
  }
  .workspace-nav{
    padding-bottom:6px;
  }
  .workspace-nav a{
    min-width:max-content;
  }
  .topbar-actions{
    grid-template-columns:1fr 1fr;
  }
  .topbar-actions .search-box{
    grid-column:1 / -1;
  }
  .topbar-actions .btn{
    min-width:0;
    white-space:normal;
    line-height:1.25;
  }
  .hero-panel{
    padding:clamp(18px, 5vw, 28px);
  }
  .hero-panel h2{
    font-size:clamp(26px, 8vw, 38px)!important;
    line-height:1.13;
    word-break:keep-all;
  }
  .hero-panel p{
    font-size:clamp(14px, 3.8vw, 16px);
    word-break:keep-all;
  }
  .ops-grid,
  .stat-strip{
    gap:10px;
  }
  .ops-grid div,
  .stat-card{
    min-width:0;
  }
  .quick-list a{
    min-width:0;
  }
  .quick-list b,
  .quick-list small,
  .timeline b,
  .timeline small{
    overflow-wrap:anywhere;
  }
  .recent-panel .panel-head,
  .panel-head{
    padding-left:var(--mobile-gutter);
    padding-right:var(--mobile-gutter);
  }
  .table-wrap{
    padding-left:var(--mobile-gutter);
    padding-right:var(--mobile-gutter);
  }
}
@media (max-width: 640px){
  .workspace-brand{
    padding-bottom:8px;
  }
  .workspace-topbar h1{
    font-size:clamp(22px, 7vw, 28px);
    word-break:keep-all;
  }
  .workspace-topbar p{
    font-size:13.5px;
  }
  .topbar-actions{
    grid-template-columns:1fr;
  }
  .search-box{
    border-radius:16px;
  }
  .search-box input{
    min-width:0;
    font-size:16px;
  }
  .btn,
  .mini-btn{
    white-space:normal;
    line-height:1.22;
  }
  .hero-actions,
  .next-step > div:last-child{
    gap:8px;
  }
  .ops-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .ops-grid div{
    padding:12px 10px;
  }
  .ops-grid b{
    font-size:26px;
  }
  .ops-grid small{
    display:block;
    line-height:1.25;
  }
  .stat-strip{
    grid-template-columns:1fr 1fr!important;
  }
  .stat-card{
    padding:14px 12px;
  }
  .stat-card b{
    font-size:30px;
  }
  .quick-list a{
    grid-template-columns:38px minmax(0,1fr);
    column-gap:10px;
  }
  .quick-list span{
    width:38px;
    height:38px;
  }
  .contract-table tr{
    overflow:hidden;
  }
  .contract-table td{
    overflow-wrap:anywhere;
  }
}
@media (max-width: 420px){
  .ops-grid,
  .stat-strip{
    grid-template-columns:1fr!important;
  }
  .workspace-nav a{
    font-size:12px;
    padding:0 9px;
  }
  .hero-panel{
    padding:16px 12px;
  }
  .hero-panel h2{
    font-size:25px!important;
  }
  .ops-card,
  .panel,
  .next-step,
  .stat-card{
    border-radius:18px;
  }
  .quick-list,
  .timeline,
  .table-wrap{
    padding-left:12px;
    padding-right:12px;
  }
}


/* v11 product UI diet: softer type, cleaner spacing, less copy-heavy */
:root{
  --font-app: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple SD Gothic Neo", "Noto Sans KR", "Pretendard", "Segoe UI", system-ui, sans-serif;
}
html, body{
  font-family:var(--font-app)!important;
  letter-spacing:-.035em;
}
body{
  color:#142238;
}
b,strong,h1,h2,h3,h4,.btn,.label,.workspace-nav a,.kicker{
  font-weight:760!important;
}
h1,h2,h3{
  letter-spacing:-.06em!important;
}
p,.muted,.hint,small,span,td,th,dd,dt,input,textarea,select{
  line-height:1.5;
}
.workspace-sidebar,
.workspace-topbar,
.hero-panel,
.panel,
.stat-card,
.ops-card,
.quick-list a,
.next-step,
.card,
.contract-card,
.dashboard-hero,
.topbar{
  border-color:#e4edf5!important;
}
.workspace-sidebar{
  background:rgba(255,255,255,.96)!important;
}
.workspace-nav a,
.btn,
.mini-btn,
.search-box,
.input{
  box-shadow:none!important;
}
.btn,
.mini-btn{
  min-height:42px;
  padding-inline:16px;
  font-size:14px;
}
.btn.primary{
  background:linear-gradient(135deg,#0f8ed8,#0968b3)!important;
}
.btn.primary.soft{
  background:linear-gradient(135deg,#18b891,#12a47f)!important;
}
.kicker{
  letter-spacing:.06em!important;
  font-size:11px!important;
}
.hero-panel h2,
.dashboard-hero h1{
  font-weight:800!important;
}
.hero-panel p,
.dashboard-hero p{
  font-weight:520!important;
}
.ops-grid div,
.stat-card,
.dash-stat{
  background:#fff!important;
}
.quick-list a{
  background:#fbfdff!important;
}
.quick-list small,
.timeline small,
.subline,
.workspace-topbar p,
.panel-head p,
.next-step p,
.card p,
.muted{
  color:#718096!important;
  font-weight:520!important;
}
.workspace-content{
  max-width:1500px;
  margin-inline:auto;
}
.contract-table th{
  font-weight:680!important;
}
.contract-table td{
  font-weight:560!important;
}
.status-pill,
.status-badge{
  font-weight:720!important;
}
.input{
  font-weight:520;
  border-color:#e1eaf3!important;
}
.input::placeholder{
  color:#9aa8b6;
}
@media (max-width: 760px){
  body{
    background:#f5f9fc!important;
  }
  .workspace-sidebar{
    background:rgba(255,255,255,.98)!important;
  }
  .workspace-brand b{
    font-size:18px!important;
    font-weight:780!important;
  }
  .workspace-brand small{
    font-weight:520!important;
  }
  .workspace-nav a{
    font-weight:680!important;
  }
  .workspace-topbar h1,
  .page-title-row h2{
    font-weight:780!important;
  }
  .hero-panel h2,
  .dashboard-hero h1{
    font-size:clamp(24px, 7vw, 30px)!important;
    font-weight:800!important;
  }
  .hero-panel p,
  .dashboard-hero p{
    font-size:14px!important;
  }
  .btn,
  .mini-btn{
    min-height:44px;
    font-size:14px;
  }
  .card,
  .panel,
  .hero-panel,
  .stat-card,
  .ops-card,
  .next-step,
  .contract-card{
    border-radius:18px!important;
  }
  .ops-grid b,
  .stat-card b,
  .dash-stat b{
    font-weight:760!important;
  }
}
@media (max-width: 430px){
  .btn,
  .mini-btn{
    font-size:13.5px;
  }
  .hero-panel h2,
  .dashboard-hero h1{
    font-size:24px!important;
  }
}


/* v12 mobile home: app-style grid, image-first, desktop unchanged */
.mobile-launch{display:none}
@media (max-width: 760px){
  .workspace-topbar p,
  .workspace-topbar .topbar-actions,
  .hero-panel{
    display:none!important;
  }
  .workspace-topbar{
    min-height:auto;
    padding-top:12px;
    padding-bottom:10px;
    background:#f7fbff!important;
  }
  .workspace-topbar h1{
    font-size:22px!important;
    line-height:1.05;
  }
  .workspace-content{
    padding-top:10px!important;
  }
  .mobile-launch{
    display:block;
    margin:0 0 14px;
  }
  .mobile-hero-card{
    position:relative;
    overflow:hidden;
    min-height:178px;
    border-radius:24px;
    padding:18px;
    display:flex;
    align-items:flex-end;
    color:#fff;
    background:
      linear-gradient(180deg,rgba(5,18,38,.05) 0%,rgba(5,18,38,.25) 44%,rgba(5,18,38,.78) 100%),
      url('/assets/axworks-onesign-og.png') center/cover no-repeat;
    border:1px solid rgba(255,255,255,.72);
    box-shadow:0 14px 34px rgba(8,25,50,.14);
  }
  .mobile-hero-card span{
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 10px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.18);
    color:#eaf7ff;
    font-size:11px;
    font-weight:650;
    letter-spacing:.01em;
    backdrop-filter:blur(8px);
  }
  .mobile-hero-card h2{
    margin:10px 0 0;
    max-width:250px;
    font-size:26px;
    line-height:1.12;
    letter-spacing:-.065em;
    font-weight:820!important;
    text-shadow:0 10px 24px rgba(0,0,0,.28);
    word-break:keep-all;
  }
  .mobile-work-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:12px;
  }
  .mobile-work-card{
    min-height:118px;
    border:1px solid #e1ebf5;
    border-radius:22px;
    padding:14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:flex-start;
    text-align:left;
    background:#fff;
    color:#12233a;
    box-shadow:0 10px 26px rgba(8,25,50,.06);
    appearance:none;
    -webkit-appearance:none;
  }
  .mobile-work-card span{
    display:inline-flex;
    min-height:24px;
    align-items:center;
    padding:0 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:720;
  }
  .mobile-work-card b{
    display:block;
    margin-top:auto;
    font-size:20px;
    line-height:1.14;
    letter-spacing:-.06em;
    font-weight:820!important;
  }
  .mobile-work-card small{
    display:block;
    margin-top:5px;
    color:#66758a;
    font-size:12px;
    font-weight:520;
  }
  .card-contract{
    background:linear-gradient(180deg,#ffffff 0%,#eef7ff 100%);
  }
  .card-contract span{
    color:#0b68b3;
    background:#e6f4ff;
  }
  .card-equipment{
    background:linear-gradient(180deg,#ffffff 0%,#ecfbf5 100%);
  }
  .card-equipment span{
    color:#128060;
    background:#dcf7ec;
  }
  .card-soon{
    background:#f8fafc;
    color:#6b7788;
    opacity:.92;
  }
  .card-soon span{
    color:#78879a;
    background:#edf2f7;
  }
  .card-soon b{
    color:#546172;
  }
  .card-soon:disabled{
    cursor:not-allowed;
  }
  .stat-strip{
    margin-top:12px!important;
  }
  .two-column,
  .next-step{
    display:none!important;
  }
  .recent-panel{
    margin-top:14px!important;
  }
  .recent-panel .panel-head p{
    display:none!important;
  }
}
@media (max-width:420px){
  .mobile-hero-card{
    min-height:160px;
    border-radius:20px;
    padding:16px;
  }
  .mobile-hero-card h2{
    font-size:23px;
    max-width:230px;
  }
  .mobile-work-grid{
    gap:9px;
  }
  .mobile-work-card{
    min-height:106px;
    border-radius:18px;
    padding:13px;
  }
  .mobile-work-card b{
    font-size:18px;
  }
}


/* v13 targeted fix: mobile thumbnail should stay clean, and recent list stays on dashboard */
@media (max-width:760px){
  .mobile-hero-card{
    min-height:210px!important;
    align-items:stretch!important;
    padding:0!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(8,25,50,.10) 100%),
      url('/assets/axworks-onesign-og.png') center/cover no-repeat!important;
  }
  .mobile-hero-card > div{
    display:none!important;
  }
  .recent-head .mini-btn,
  #viewAllContractsBtn{
    appearance:none;
    -webkit-appearance:none;
    border:1px solid #dce8f2;
    background:#fff;
    color:#142238;
    cursor:pointer;
  }
}
@media (max-width:420px){
  .mobile-hero-card{
    min-height:188px!important;
    background-size:cover!important;
    background-position:center!important;
  }
}


/* v14 mobile dashboard refinements */
.mobile-row-status{display:none}
@media (max-width:760px){
  .workspace-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;overflow:visible!important;padding:2px 0 0!important;}
  .workspace-nav a{min-width:0!important;width:100%!important;justify-content:center!important;text-align:center!important;white-space:normal!important;min-height:38px!important;padding:0 7px!important;border-radius:16px!important;font-size:12px!important;line-height:1.15!important;}
  .workspace-nav a span{display:none!important;}
  .mobile-work-card span{display:none!important;}
  .mobile-work-card{justify-content:flex-end!important;gap:2px!important;}
  .mobile-work-card b{margin-top:0!important;}
  .stat-card em{display:none!important;}
  .recent-panel .panel-head h3{font-size:23px!important;}
  .contract-table tr[data-recent-row]{cursor:pointer;}
  .contract-table tr[data-recent-row]:not(.expanded) td:not(:first-child){display:none!important;}
  .contract-table tr[data-recent-row]:not(.expanded) td:first-child::before{display:none!important;}
  .contract-table tr[data-recent-row]:not(.expanded) td:first-child{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:7px 0!important;}
  .contract-table tr[data-recent-row]:not(.expanded) td:first-child b{font-size:19px!important;line-height:1.2!important;}
  .contract-table tr[data-recent-row]:not(.expanded) td:first-child .subline{display:none!important;}
  .contract-table tr[data-recent-row]:not(.expanded) .mobile-row-status{display:inline-flex!important;min-width:auto!important;flex:0 0 auto!important;}
  .contract-table tr[data-recent-row].expanded .mobile-row-status{display:none!important;}
  .contract-table tr[data-recent-row].expanded td[data-label]::before{display:block!important;}
  #viewAllContractsBtn{width:100%;}
}
@media (max-width:420px){.workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.mobile-work-card{min-height:100px!important;}}


/* v15 recent contract filter */
.recent-filter{
  position:relative;
  display:inline-flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}
.recent-filter-menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  z-index:40;
  min-width:180px;
  padding:8px;
  border:1px solid #dce8f2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 44px rgba(10,35,64,.14);
}
.recent-filter-menu button{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:13px;
  background:#f7fbff;
  color:#142238;
  font:inherit;
  font-weight:760;
  cursor:pointer;
}
.recent-filter-menu button + button{
  margin-top:6px;
}
.recent-filter-menu button:hover{
  background:#eaf7ff;
}
.desktop-code{
  display:block;
}
@media (max-width:760px){
  .recent-filter{
    display:flex;
    width:100%;
  }
  .recent-filter-menu{
    position:static;
    width:100%;
    margin-top:8px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    box-shadow:none;
    padding:0;
    border:0;
    background:transparent;
  }
  .recent-filter-menu.hidden{
    display:none!important;
  }
  .recent-filter-menu button{
    min-height:46px;
    border:1px solid #dce8f2;
    background:#fff;
    border-radius:999px;
  }
  .recent-filter-menu button + button{
    margin-top:0;
  }
  .recent-row td:first-child{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .recent-row:not(.expanded) td:not(:first-child){
    display:none!important;
  }
  .recent-row.expanded td{
    display:block!important;
  }
  .recent-row.expanded td:first-child{
    display:flex!important;
  }
  .desktop-code{
    display:none!important;
  }
  .recent-row td[data-label="문서"],
  .recent-row td[data-label="공급자"],
  .recent-row td[data-label="상태"],
  .recent-row td[data-label="생성일"],
  .recent-row td[data-label="상세"]{
    padding-top:10px!important;
  }
}


/* v17 dashboard mobile cleanup */
.recent-mobile-list{display:none}
@media (max-width:760px){
  /* 통합 메인에서는 상단 작은 메뉴와 대시보드 제목 숨김 */
  .workspace-nav,
  .workspace-topbar{
    display:none!important;
  }
  .workspace-sidebar{
    padding:12px 12px 8px!important;
  }
  .workspace-brand{
    padding-bottom:0!important;
  }

  /* 업무 카드 중앙 정렬 */
  .mobile-work-card{
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:6px!important;
  }
  .mobile-work-card b,
  .mobile-work-card small{
    text-align:center!important;
  }

  /* 현황 숫자 카드 중앙 정렬 */
  .ops-grid div,
  .stat-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .ops-grid b,
  .stat-card b{
    margin:8px 0 4px!important;
  }
  .stat-card em{
    display:none!important;
  }

  /* 약정서 보기 버튼 */
  #contractTypeBtn{
    min-height:52px!important;
    font-size:17px!important;
    font-weight:820!important;
    border-radius:999px!important;
  }

  /* 최근 계약은 모바일 전용 리스트 사용 */
  .recent-panel .table-wrap{
    display:none!important;
  }
  .recent-mobile-list{
    display:grid!important;
    gap:10px!important;
    padding:0 var(--mobile-gutter, 14px) 16px!important;
  }
  .recent-mobile-empty{
    border:1px solid #dce8f2;
    border-radius:18px;
    background:#fff;
    padding:18px;
    text-align:center;
    color:#718096;
    font-weight:650;
  }
  .recent-mobile-card{
    display:block;
    border:1px solid #dce8f2;
    border-radius:18px;
    background:#fff;
    padding:15px;
    box-shadow:0 8px 20px rgba(10,35,64,.04);
    cursor:pointer;
  }
  .recent-mobile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:42px;
  }
  .recent-mobile-head b{
    display:block;
    color:#142238;
    font-size:21px;
    line-height:1.18;
    font-weight:820!important;
    letter-spacing:-.055em;
  }
  .recent-mobile-head .status-pill{
    flex:0 0 auto;
  }
  .recent-mobile-brief{
    display:none;
    margin-top:13px;
    padding-top:13px;
    border-top:1px solid #e5edf5;
  }
  .recent-mobile-card.expanded .recent-mobile-brief{
    display:block;
  }
  .recent-mobile-brief dl{
    display:grid;
    gap:8px;
    margin:0 0 12px;
  }
  .recent-mobile-brief div{
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    gap:10px;
  }
  .recent-mobile-brief dt{
    color:#718096;
    font-weight:760;
  }
  .recent-mobile-brief dd{
    margin:0;
    color:#142238;
    font-weight:650;
    overflow-wrap:anywhere;
  }
  .recent-mobile-brief .detail-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    border:1px solid #cfe2f6;
    border-radius:999px;
    background:#fff;
    color:#0d76b3;
    font-weight:820;
  }
}
@media (max-width:420px){
  .recent-mobile-head b{
    font-size:19px;
  }
}


/* v40 product-clean dashboard */
.workspace-sidebar{width:260px}.workspace-brand small{font-size:12px}.tenant-card p{display:none}.workspace-nav{gap:8px}.workspace-nav a{min-height:48px}.workspace-content{padding:22px clamp(22px,3vw,34px) 34px}.workspace-topbar{min-height:74px}.workspace-topbar h1{font-size:24px}.topbar-actions{gap:10px}.simple-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.42fr);padding:30px;margin-bottom:18px}.simple-hero h2{font-size:clamp(34px,3.1vw,52px);margin:16px 0 8px}.simple-hero p{font-size:16px}.simple-hero .hero-actions{margin-top:22px}.compact-metrics{padding:20px}.compact-metrics .ops-grid div{padding:14px}.compact-metrics .ops-grid b{font-size:24px}.recent-panel{margin-top:0}.recent-head{padding-top:22px}.contract-table{min-width:860px}.contract-table th{font-size:11.5px}.contract-table td{padding:14px 14px}.status-pill{min-width:124px}.mobile-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-work-card{min-height:128px}.support-card,.stat-strip,.two-column,.next-step,.chip-row{display:none!important}@media(max-width:980px){.simple-hero{grid-template-columns:1fr}.compact-metrics{display:none}.workspace-sidebar{display:none}.workspace-main{margin-left:0}.topbar-actions .search-box{order:4;width:100%}}@media(max-width:720px){.workspace-content{padding:14px}.simple-hero{padding:20px;border-radius:22px}.simple-hero h2{font-size:31px}.hero-actions{display:grid;grid-template-columns:1fr}.contract-table{min-width:760px}.recent-panel{border-radius:22px}.mobile-work-card{min-height:120px}.mobile-work-card span{display:none}}

/* v44.1: 메인 랜딩 감성 복원 + 운영 대시보드 유지 */
.landing-dashboard-hero{position:relative;min-height:430px;grid-template-columns:minmax(0,1fr) minmax(300px,.42fr);align-items:end;padding:clamp(30px,5vw,56px);background:#061a35;color:#fff;border:0;box-shadow:0 24px 70px rgba(5,19,40,.26)}
.landing-dashboard-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,26,53,.96) 0%,rgba(6,26,53,.83) 43%,rgba(6,26,53,.42) 100%);z-index:1}
.landing-dashboard-hero:after{content:"";position:absolute;right:-120px;bottom:-140px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(25,184,197,.26),transparent 68%);z-index:1}
.workspace-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:saturate(1.04)}
.landing-dashboard-hero .hero-copy,.landing-dashboard-hero .ops-card{position:relative;z-index:2}
.landing-dashboard-hero .kicker{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);color:#dff7ff;backdrop-filter:blur(10px)}
.landing-dashboard-hero h2{color:#fff;font-size:clamp(40px,5.4vw,72px);line-height:1.04;letter-spacing:-.075em;max-width:820px;text-shadow:0 8px 24px rgba(0,0,0,.25)}
.landing-dashboard-hero p{color:#e6f0fa;max-width:780px;font-size:clamp(16px,1.4vw,20px);line-height:1.75;font-weight:760;text-shadow:0 4px 14px rgba(0,0,0,.18)}
.dark-proof{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.dark-proof span{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);color:#fff;font-size:13px;font-weight:950;backdrop-filter:blur(10px)}
.landing-dashboard-hero .compact-metrics{background:rgba(255,255,255,.90);color:#172033;border-color:rgba(255,255,255,.7);box-shadow:0 20px 56px rgba(0,0,0,.18)}
.workspace-service-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.workspace-service-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:stretch;padding:18px;border-radius:28px;background:#fff;border:1px solid #dce8f2;box-shadow:0 14px 40px rgba(10,35,64,.07);overflow:hidden}
.workspace-service-card img{width:100%;height:100%;min-height:180px;object-fit:cover;border-radius:22px;background:#edf4f8}
.workspace-service-card div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 4px}
.workspace-service-card span{align-self:flex-start;display:inline-flex;min-height:30px;align-items:center;padding:0 10px;border-radius:999px;background:#e7f4ff;color:#116aa5;font-size:12px;font-weight:950}
.workspace-service-card.green-card span{background:#e8f8f0;color:#138457}
.workspace-service-card h3{margin:14px 0 8px;font-size:24px;letter-spacing:-.045em}
.workspace-service-card p{margin:0 0 16px;color:#607287;font-size:14.5px;line-height:1.65;font-weight:760;word-break:keep-all}
.workspace-service-card .detail-link{margin-top:auto}
@media(max-width:1180px){.landing-dashboard-hero{grid-template-columns:1fr;min-height:390px}.landing-dashboard-hero .compact-metrics{max-width:520px}.workspace-service-card{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:820px){.workspace-service-cards{grid-template-columns:1fr}.workspace-service-card{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:720px){.landing-dashboard-hero{display:block;min-height:360px;padding:28px 22px;border-radius:28px}.landing-dashboard-hero:before{background:linear-gradient(180deg,rgba(6,26,53,.95),rgba(6,26,53,.70))}.landing-dashboard-hero h2{font-size:36px!important}.landing-dashboard-hero p{font-size:15.5px}.dark-proof{gap:7px}.dark-proof span{font-size:12px;min-height:30px}.landing-dashboard-hero .compact-metrics{display:none}.workspace-service-cards{gap:14px}.workspace-service-card{grid-template-columns:1fr;padding:14px;border-radius:24px}.workspace-service-card img{min-height:150px;max-height:190px}.workspace-service-card h3{font-size:21px}}


.brand-symbol.has-logo{background:#fff;color:transparent;border:1px solid rgba(220,232,242,.95);overflow:hidden;padding:6px;box-shadow:0 14px 32px rgba(10,35,64,.12)}
.brand-symbol-logo{display:block;width:100%;height:100%;object-fit:contain}
.mobile-work-card b{font-size:19px}
.mobile-work-card small{margin-top:8px;color:#d9e8f8;font-weight:800}
.mobile-work-card.card-equipment small{color:#dcf3e9}

/* v61 sidebar logo polish */
.brand-symbol{width:52px!important;height:52px!important;min-width:52px!important;border-radius:16px!important}
.brand-symbol.has-logo{padding:5px!important;background:#fff!important}
.brand-symbol-logo{width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:760px){.brand-symbol{width:46px!important;height:46px!important;min-width:46px!important}}

/* v62 Miso dedicated branding */
.brand-symbol.has-logo{
  width:88px!important;
  height:54px!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #e5edf5!important;
  padding:4px!important;
}
.brand-symbol-logo{object-fit:contain!important;border-radius:8px!important;}
@media(max-width:760px){.brand-symbol.has-logo{width:76px!important;height:48px!important;}}


/* v68 dashboard cleanup */
.workspace-quick-summary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);gap:18px;align-items:center;margin:0 0 18px;padding:24px;border:1px solid #dce8f2;border-radius:26px;background:rgba(255,255,255,.92);box-shadow:0 14px 42px rgba(10,35,64,.07)}
.workspace-quick-summary h2{margin:12px 0 6px;font-size:clamp(28px,3vw,42px);letter-spacing:-.06em;line-height:1.12}.workspace-quick-summary p{margin:0;color:#63758d;font-weight:750;line-height:1.55}.quick-summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-summary-metrics div{padding:16px 14px;border-radius:18px;background:#f7fbff;border:1px solid #e1ecf5}.quick-summary-metrics span{display:block;color:#708196;font-size:12px;font-weight:900}.quick-summary-metrics b{display:block;margin-top:7px;font-size:25px;letter-spacing:-.04em}.compact-only{display:flex;align-items:center}.contract-table td:last-child{white-space:nowrap}.ghost-delete{margin-left:12px;border:0;background:transparent;color:#b42318;font-weight:950;cursor:pointer;font-size:13px}.ghost-delete:hover{text-decoration:underline}.recent-mobile-card .ghost-delete{display:inline-flex;margin-left:8px;color:#b42318}.workspace-service-cards,.landing-dashboard-hero{display:none!important}.recent-panel{margin-top:0!important}.recent-head h3{font-size:24px}.workspace-topbar .btn.ghost{background:#fff}
@media(max-width:980px){.workspace-quick-summary{grid-template-columns:1fr}.quick-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.workspace-quick-summary{padding:18px;border-radius:22px}.workspace-quick-summary h2{font-size:28px}.quick-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ghost-delete{display:block;margin:8px 0 0}}

/* v68: dashboard first-list cleanup */
.dashboard-first-list{margin-top:0!important;}
.dashboard-first-list .recent-head{padding-bottom:6px;}
.row-action-group,.mobile-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.danger-mini{color:#c2410c!important;border-color:#fed7aa!important;background:#fff7ed!important;box-shadow:none!important;min-height:34px!important;padding:0 11px!important;font-size:12px!important;}
.contract-table td .row-action-group{justify-content:flex-start;}
.recent-mobile-brief .mobile-card-actions{margin-top:12px;}
@media(max-width:760px){.row-action-group,.mobile-card-actions{display:grid;grid-template-columns:1fr 1fr}.danger-mini,.detail-link{justify-content:center;text-align:center}}


/* v69: keep contract list simple - 업소명/상태/상세 중심 */
#batchDraftToolbar,.batch-draft-toolbar,.draft-select-check,.draft-card-select{display:none!important}
.contract-list-row.v65-selectable,.contract-card.v65-selectable{padding-left:inherit}
.contract-list-row .contract-actions{gap:8px}
.status-pill.draft,.status-pill.wait,.status-pill.view,.status-pill.signed,.status-pill.done,.status-pill.issue{
  min-width:104px;
  justify-content:center;
  font-weight:950;
  letter-spacing:-.02em;
}
.dashboard-toolbar{margin-bottom:14px}
.dashboard-view-actions{display:none!important}
@media(max-width:760px){
  .contract-list-row .contract-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .status-pill{min-width:auto}
}

#shellSectionText:empty{display:none!important;}

.ghost-copy{color:#0b7fc3!important;font-weight:900;margin-left:10px;white-space:nowrap}.contract-list-row .btn.small{min-height:34px;padding:0 12px;font-size:13px}


/* v77: shared dashboard list mobile polish */
.contract-table .detail-link,
.recent-mobile-actions .detail-link,
.detail-link{
  border-radius:10px!important;
}
.status-pill{
  border-radius:10px!important;
  font-size:14px!important;
  min-height:32px!important;
}
@media(max-width:760px){
  .recent-mobile-card,
  .contract-table tr,
  .recent-panel{
    border-radius:14px!important;
  }
  .recent-mobile-card .detail-link,
  .recent-mobile-actions .detail-link{
    min-height:46px!important;
    justify-content:center!important;
    font-size:15px!important;
  }
}


/* v78: mobile dashboard list action grid and square buttons */
.btn,.mini-btn,.detail-link,.status-pill,.ghost-delete,.danger-mini{border-radius:6px!important;}
.recent-mobile-card{border-radius:8px!important;}
.recent-mobile-head b{font-size:24px!important;line-height:1.18!important;}
.recent-mobile-brief dt,.recent-mobile-brief dd{font-size:15.5px!important;line-height:1.45!important;}
.status-pill{font-size:15.5px!important;min-height:38px!important;padding:0 14px!important;justify-content:center!important;}
.row-action-group,.mobile-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:center!important;justify-content:center!important;}
.row-action-group .detail-link,.row-action-group .ghost-delete,.mobile-card-actions .detail-link,.mobile-card-actions .ghost-delete{width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:15.5px!important;margin:0!important;}
@media(max-width:760px){
  .recent-mobile-list{gap:12px!important;}
  .recent-mobile-card{padding:18px!important;border-radius:8px!important;}
  .recent-mobile-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .recent-mobile-head b{font-size:27px!important;}
  .recent-mobile-head .status-pill{width:100%!important;}
  .recent-mobile-brief a.detail-link,
  .recent-mobile-brief button.detail-link,
  .recent-mobile-brief .ghost-copy,
  .recent-mobile-brief .ghost-delete{
    width:100%!important;
    min-height:54px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border:1px solid #d9e7f3!important;
    border-radius:6px!important;
    background:#fff!important;
    font-size:17px!important;
    font-weight:950!important;
    margin:8px 0 0!important;
    color:#0d76b3!important;
  }
  .recent-mobile-brief .ghost-delete{color:#b42318!important;background:#fff7f2!important;border-color:#fed7aa!important;}
  .recent-mobile-brief .ghost-copy{background:#edf7ff!important;}
  .topbar-actions .btn,.workspace-nav a{border-radius:6px!important;font-size:16px!important;}
}


/* v79: 버튼 hover/pressed feedback + clearer mobile actions */
button, .btn, a.btn, .detail-link, .mini-btn {
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: rgba(14, 124, 191, .18);
}
button:not(:disabled):hover, .btn:not(:disabled):hover, a.btn:hover, .detail-link:hover, .mini-btn:hover {
  filter: brightness(1.025);
  box-shadow: 0 12px 26px rgba(10, 35, 64, .13);
}
button:not(:disabled):active, .btn:not(:disabled):active, a.btn:active, .detail-link:active, .mini-btn:active,
button.is-pressed, .btn.is-pressed, a.btn.is-pressed, .detail-link.is-pressed, .mini-btn.is-pressed {
  transform: translateY(1px) scale(.985);
  filter: brightness(.94);
  box-shadow: inset 0 2px 8px rgba(5, 30, 60, .18), 0 4px 12px rgba(10, 35, 64, .10);
}
.btn.primary:not(:disabled):active, .btn.primary.is-pressed { background: linear-gradient(135deg, #0b78bd, #064b8c); color:#fff; }
.btn.secondary:not(:disabled):active, .btn.secondary.is-pressed,
.btn.ghost:not(:disabled):active, .btn.ghost.is-pressed { background:#dcecff; border-color:#9bc7e8; color:#07365f; }
.client-equipment-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:14px 0 20px;}
.client-equipment-photo-card{border:1px solid #d7e6f2;border-radius:18px;background:#f8fbff;padding:14px;display:grid;gap:9px;}
.client-equipment-photo-card b{font-size:15px;color:#10233d;}
.client-equipment-photo-card small{color:#5d7188;line-height:1.55;font-weight:750;}
.client-equipment-photo-card img{width:100%;max-height:260px;object-fit:contain;border-radius:14px;background:#eef4fb;border:1px solid #dce8f2;}
@media(max-width:720px){
  button, .btn, a.btn, .detail-link, .mini-btn{min-height:48px;font-size:16px;}
  .client-equipment-photos{grid-template-columns:1fr;gap:12px;}
  .client-equipment-photo-card{border-radius:12px;}
}


/* v107: sidebar navigation text never overlaps */
@media(min-width:1181px){
  .workspace-shell{grid-template-columns:280px minmax(0,1fr)!important}
  .workspace-sidebar{width:280px!important;padding-left:16px!important;padding-right:16px!important}
  .workspace-nav{display:grid!important;gap:7px!important;overflow:visible!important}
  .workspace-nav a{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:11px!important;
    width:100%!important;
    height:auto!important;
    min-height:50px!important;
    padding:9px 11px!important;
    white-space:normal!important;
    overflow:visible!important;
    line-height:1.3!important;
  }
  .workspace-nav a>.nav-icon{
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:10px!important;
    background:#edf5fb!important;
    color:#2b718e!important;
    line-height:1!important;
  }
  .workspace-nav a.active>.nav-icon{background:linear-gradient(135deg,var(--blue),var(--teal))!important;color:#fff!important}
  .workspace-nav a>.nav-label{
    display:block!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    font-size:15px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:keep-all!important;
    text-align:left!important;
  }
  .workspace-nav a>.nav-label span{
    display:inline!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    line-height:inherit!important;
  }
}
@media(max-width:1180px){
  .workspace-nav a>.nav-icon{display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:24px!important;border-radius:8px!important;background:#edf5fb!important;color:#2b718e!important}
  .workspace-nav a>.nav-label{display:block!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;color:inherit!important;white-space:nowrap!important;line-height:1.2!important}
  .workspace-nav a>.nav-label span{display:inline!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;color:inherit!important}
}


/* v108 dashboard navigation label integrity */
.workspace-nav a > .nav-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  border-radius:10px!important;
  background:#edf5fb!important;
  color:#2b718e!important;
  font-size:15px!important;
  line-height:1!important;
}
.workspace-nav a > .nav-label{
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  background:transparent!important;
  color:inherit!important;
  border-radius:0!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.28!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
.workspace-nav a > .nav-label > span{
  display:inline!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  background:transparent!important;
  color:inherit!important;
  border-radius:0!important;
  font:inherit!important;
  line-height:inherit!important;
}
.workspace-nav a.active > .nav-icon{
  background:linear-gradient(135deg,var(--blue),var(--teal))!important;
  color:#fff!important;
}
@media(min-width:1181px){
  .workspace-shell{grid-template-columns:280px minmax(0,1fr)!important;}
  .workspace-sidebar{width:280px!important;}
  .workspace-nav{display:grid!important;gap:8px!important;overflow:visible!important;}
  .workspace-nav a{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:12px!important;
    min-height:54px!important;
    height:auto!important;
    padding:9px 12px!important;
    white-space:normal!important;
  }
}
@media(max-width:1180px){
  .workspace-nav a > .nav-label{white-space:nowrap!important;font-size:13px!important;}
}
@media(max-width:720px){
  .workspace-nav a > .nav-icon{display:none!important;}
  .workspace-nav a > .nav-label{display:block!important;white-space:normal!important;text-align:center!important;font-size:12px!important;line-height:1.2!important;}
}


/* v108 final dashboard navigation: essential menus only, no overlap */
.workspace-shell{grid-template-columns:280px minmax(0,1fr)!important}
.workspace-sidebar{min-width:0!important;overflow-y:auto!important;overflow-x:hidden!important}
.workspace-nav{display:grid!important;gap:8px!important}
.workspace-nav a{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;height:auto!important;padding:10px 12px!important;line-height:1.25!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
.workspace-nav a>.nav-icon{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:10px!important;background:#edf5fb!important;color:#2b718e!important;font-size:15px!important;line-height:1!important}
.workspace-nav a>.nav-label{display:block!important;flex:1 1 auto!important;width:auto!important;height:auto!important;min-width:0!important;padding:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:15px!important;line-height:1.3!important;text-align:left!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
.workspace-nav a.active>.nav-icon{background:linear-gradient(135deg,var(--blue),var(--teal))!important;color:#fff!important}
.workspace-nav a.active>.nav-label{background:transparent!important;color:inherit!important}
@media(max-width:1360px){
  .workspace-shell{grid-template-columns:1fr!important}
  .workspace-sidebar{position:relative!important;height:auto!important;overflow:visible!important;border-right:0!important;border-bottom:1px solid #dce8f2!important;padding:14px 16px!important}
  .workspace-brand{display:inline-flex!important;max-width:100%!important}
  .tenant-card,.support-card{display:none!important}
  .workspace-nav{display:flex!important;overflow-x:auto!important;gap:8px!important;margin:8px 0 0!important;padding:0 0 5px!important;scrollbar-width:none!important}
  .workspace-nav::-webkit-scrollbar{display:none!important}
  .workspace-nav a{flex:0 0 auto!important;min-width:max-content!important;min-height:42px!important;padding:7px 12px!important;border:1px solid #dbeaf5!important;border-radius:999px!important;background:#fff!important}
  .workspace-nav a>.nav-icon{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;font-size:12px!important}
  .workspace-nav a>.nav-label{font-size:13px!important;white-space:nowrap!important;overflow-wrap:normal!important}
}
@media(max-width:760px){
  .workspace-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:8px!important}
  .workspace-nav a{min-width:0!important;width:100%!important;justify-content:flex-start!important;text-align:left!important;white-space:normal!important;min-height:46px!important;padding:7px 9px!important;border-radius:15px!important}
  .workspace-nav a>.nav-icon{display:grid!important;flex-basis:26px!important;width:26px!important;height:26px!important;min-width:26px!important}
  .workspace-nav a>.nav-label{display:block!important;font-size:13px!important;white-space:normal!important;text-align:left!important;line-height:1.2!important}
}
@media(max-width:420px){.workspace-nav{grid-template-columns:1fr!important}}
