:root{
  --bg:#eef4fb;--panel:#fff;--line:#dbe6f2;--text:#14213a;--muted:#6d7d91;
  --blue:#2675f5;--blue-dark:#145ac9;--blue-soft:#eaf3ff;--green:#17a75d;--green-dark:#0b8e4c;
  --shadow:0 12px 30px rgba(23,49,89,.08);--shadow-lg:0 24px 60px rgba(20,45,84,.12)
}
*{box-sizing:border-box}html,body{margin:0;min-width:1360px;background:linear-gradient(180deg,#f6faff,#edf3fa);color:var(--text);font-family:"Pretendard","Noto Sans KR","Malgun Gothic",Arial,sans-serif;letter-spacing:-.02em}a{text-decoration:none;color:inherit}body{min-height:100vh}

/* top */
.topbar{height:74px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:26px;padding:0 30px;position:sticky;top:0;z-index:40}
.brand{display:flex;align-items:center;gap:12px;min-width:200px}.brand-icon{width:40px;height:40px;border-radius:12px;background:#eef5ff;display:flex;align-items:center;justify-content:center}.brand-icon img{width:24px;height:24px}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:21px;font-weight:900}.brand-copy strong span{color:var(--blue)}.brand-copy small{margin-top:5px;color:#6c7d91;font-size:11px;font-weight:700}
.top-search{flex:1;max-width:780px;height:44px;display:flex;align-items:center;background:#f9fbfe;border:1px solid #d7e2ef;border-radius:11px;overflow:hidden;margin:0 auto}.top-search>img{width:18px;height:18px;margin:0 13px;opacity:.65}.top-search input{flex:1;border:0;background:transparent;outline:0;font-size:14px;color:var(--text)}.top-search button{width:86px;height:100%;border:0;background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;font-weight:900;cursor:pointer}
.top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.bell{position:relative;width:38px;height:38px;border-radius:12px;background:#fff;border:1px solid #dce6f0;display:flex;align-items:center;justify-content:center}.bell i{position:absolute;right:7px;top:6px;width:8px;height:8px;border-radius:50%;background:#f33}.profile{display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(180deg,#7488ff,#5060d3);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.profile b{display:block;font-size:13px}.profile small{display:block;font-size:11px;color:#8695a7}.logout-btn{padding:10px 14px;border-radius:11px;background:#eff6ff;border:1px solid #d9e8ff;color:#145dcb;font-size:13px;font-weight:900}

/* shell / sidebar */
.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 74px)}aside{background:rgba(255,255,255,.78);border-right:1px solid var(--line);padding:14px 14px 18px;position:relative}.side-nav{display:flex;flex-direction:column;gap:8px}.nav{height:48px;border-radius:12px;display:flex;align-items:center;gap:11px;padding:0 13px;color:#21324d;font-weight:800;font-size:14px}.nav:hover,.nav.on{background:linear-gradient(90deg,#ebf4ff,#f4f9ff);color:#145fda;box-shadow:inset 3px 0 0 #2c7cf4}.ni{width:28px;height:28px;border-radius:9px;background:#f4f7fb;display:flex;align-items:center;justify-content:center}.ni img{width:16px;height:16px}.nav.on .ni,.nav:hover .ni{background:#fff}.side-storage{position:absolute;left:14px;right:14px;bottom:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;box-shadow:var(--shadow)}.side-storage-title{font-size:12px;font-weight:900;margin-bottom:9px}.mini-bar,.storage-bar{height:8px;border-radius:999px;background:#e9eff6;overflow:hidden}.mini-bar i,.storage-bar i{display:block;height:100%;background:linear-gradient(90deg,#2b78f3,#4ca8ff);border-radius:999px}.side-storage-value{display:grid;grid-template-columns:auto auto 1fr;gap:4px;align-items:center;margin-top:8px}.side-storage-value b{font-size:13px}.side-storage-value span,.side-storage-value em{font-size:11px;color:#7d8da1;font-style:normal}.side-storage-value em{text-align:right}
.content{width:100%;max-width:1600px;margin:0 auto;padding:20px 24px 34px}.flash{padding:13px 15px;border-radius:12px;margin-bottom:14px;background:#fff4f4;border:1px solid #ffd7d7;color:#b52f2f;font-weight:800}

/* login */
.public-body{background:linear-gradient(180deg,#edf4fb,#e9f0f8)}.public-shell{display:block}.public-content{padding:26px;min-height:100vh;display:flex;align-items:center;justify-content:center}.login-page{width:min(1180px,calc(100vw - 60px));display:grid;grid-template-columns:1fr 1fr;border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--shadow-lg);border:1px solid #d9e4ef;min-height:610px}
.login-panel{position:relative}.brand-side{background:linear-gradient(150deg,#0b3474 0%,#0d438a 55%,#1767a5 100%);color:#fff;padding:44px 52px;overflow:hidden}.brand-side:after{content:"";position:absolute;right:-110px;top:-130px;width:340px;height:340px;border-radius:50%;border:46px solid rgba(255,255,255,.05)}.login-brand-header{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.brand-tool{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}.brand-tool img{width:24px;height:24px}.login-brand-header strong{font-size:28px}.login-brand-header strong span{color:#66adff}.login-brand-header small{display:block;margin-top:3px;font-size:12px;color:rgba(255,255,255,.72);font-weight:700}
.brand-side h1{font-size:42px;line-height:1.18;margin:62px 0 18px;position:relative;z-index:1}.brand-side>p{font-size:17px;line-height:1.7;color:rgba(255,255,255,.83);max-width:470px;position:relative;z-index:1}.feature-list{margin-top:36px;display:grid;gap:15px;position:relative;z-index:1}.feature-item{display:flex;align-items:center;gap:13px}.feature-item>span{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}.feature-item>span img{width:20px;height:20px;filter:brightness(0) invert(1)}.feature-item b{display:block;font-size:15px}.feature-item small{display:block;margin-top:3px;font-size:12px;color:rgba(255,255,255,.7)}.brand-foot{position:absolute;left:52px;bottom:34px;font-size:12px;color:rgba(255,255,255,.58);font-weight:700;z-index:1}
.form-side{background:linear-gradient(180deg,#fbfdff,#f4f8fd);display:flex;align-items:center;justify-content:center;padding:42px}.login-card{width:390px;background:#fff;border:1px solid #dbe5ef;border-radius:22px;padding:30px 32px 24px;box-shadow:0 18px 44px rgba(23,49,89,.10)}.login-card-brand{display:flex;align-items:center;gap:10px;margin-bottom:30px}.brand-tool.small{width:36px;height:36px;background:#edf5ff}.brand-tool.small img{width:20px}.login-card-brand strong{font-size:19px}.login-card-brand strong span{color:var(--blue)}.login-card-brand small{display:block;color:#8695a7;font-size:10px;margin-left:auto}.login-card h2{font-size:30px;margin:0 0 8px}.login-card>p{margin:0 0 22px;color:#728197;font-size:14px;line-height:1.55}.login-card form{display:grid;gap:14px}.login-card label{font-size:12px;font-weight:900;color:#334b68}.input-wrap{height:46px;border:1px solid #d5e1ee;border-radius:10px;background:#fff;display:flex;align-items:center;padding:0 12px;margin-top:7px}.input-wrap:focus-within{border-color:#73adf8;box-shadow:0 0 0 3px rgba(39,117,245,.11)}.input-wrap img{width:16px;height:16px;opacity:.75}.lock-dot{font-size:10px;color:#70829a}.input-wrap input{flex:1;border:0;outline:0;background:transparent;padding:0 10px;font-size:14px;color:var(--text)}.remember{display:flex!important;align-items:center;gap:8px!important;font-size:12px!important;color:#6b7c91!important;font-weight:700!important}.remember input{width:auto}.login-card button{height:46px;border:0;border-radius:11px;background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 12px 20px rgba(32,102,220,.18)}.login-footnote{display:block;text-align:center;margin-top:15px;color:#a2adba;font-size:10px}

/* dashboard */
.hero-banner{min-height:126px;border:1px solid #d5e4f5;border-radius:19px;background:linear-gradient(100deg,#dcecff 0%,#e8f3ff 62%,#d5e9ff 100%);display:flex;align-items:center;justify-content:space-between;padding:20px 26px;box-shadow:var(--shadow);overflow:hidden}.hero-copy h1{font-size:30px;margin:0 0 7px}.hero-copy p{margin:0;color:#6b7d91;font-size:14px}.hero-art{display:flex;align-items:center;gap:14px}.laptop-art{width:125px;height:72px;border-radius:14px;background:linear-gradient(135deg,#153b96,#3d90ff 55%,#d6ecff);position:relative;box-shadow:0 10px 22px rgba(28,72,148,.16)}.laptop-art:before{content:"";position:absolute;left:17px;top:12px;width:92px;height:47px;border-radius:9px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.55))}.laptop-art:after{content:"";position:absolute;left:44px;bottom:-9px;width:38px;height:7px;border-radius:7px;background:#b7c8dc}.date-card{width:126px;padding:14px 16px;border-radius:15px;background:rgba(255,255,255,.78);border:1px solid #dbe8f8}.date-card small{display:block;color:#64768b;font-size:11px;font-weight:800}.date-card b{display:block;margin-top:5px;font-size:24px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.stat-card{min-height:84px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px}.stat-icon{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center}.stat-icon img{width:22px;height:22px}.stat-icon.folder{background:#fff5d9}.stat-icon.file{background:#f2edff}.stat-icon.download{background:#eaf8ef}.stat-icon.link{background:#fff3de}.stat-card small{display:block;color:#78899d;font-size:11px;font-weight:800}.stat-card b{display:block;font-size:22px;line-height:1.05;margin:2px 0}.stat-card em{display:block;font-size:10px;color:#a0abb8;font-style:normal;font-weight:700}
.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.category-card{min-height:214px;border-radius:18px;border:1px solid #d7e3f0;box-shadow:var(--shadow);display:grid;grid-template-columns:180px 1fr;align-items:center;overflow:hidden}.category-card.blue{background:linear-gradient(135deg,#ddecff,#edf6ff)}.category-card.green{background:linear-gradient(135deg,#e3f7e8,#effaf1)}.category-art{height:100%;position:relative}.category-art.laptop:before{content:"";position:absolute;left:38px;top:55px;width:100px;height:62px;border-radius:12px;background:linear-gradient(135deg,#1d4db1,#44a4ff);box-shadow:0 12px 28px rgba(29,80,160,.18)}.category-art.laptop:after{content:"";position:absolute;left:58px;top:118px;width:70px;height:12px;border-radius:10px;background:#bdcad8}.category-art.package:before{content:"";position:absolute;left:48px;top:50px;width:82px;height:74px;border-radius:10px;background:linear-gradient(135deg,#dc9a51,#f0c891);box-shadow:0 12px 28px rgba(159,101,37,.18)}.category-art.package:after{content:"";position:absolute;left:112px;top:94px;width:47px;height:47px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#ffffff 0 15%,#cbd5e1 16% 28%,#8bb6ff 29% 64%,#d9e6ff 65%)}.category-copy{padding:22px 28px 22px 6px}.index-chip{display:inline-flex;align-items:center;justify-content:center;height:27px;min-width:34px;padding:0 9px;border-radius:9px;background:#2378f5;color:#fff;font-size:11px;font-weight:900}.index-chip.green{background:#17a75d}.category-copy h2{font-size:23px;margin:10px 0 8px}.category-copy p{margin:0;color:#60738a;font-size:13px;line-height:1.6;max-width:430px}.category-meta{margin-top:12px;color:#3f6386;font-size:12px;font-weight:900}.category-meta i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#8da5bf;margin:0 7px;vertical-align:middle}.open-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;height:40px;padding:0 17px;border-radius:11px;background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;font-size:13px;font-weight:900;box-shadow:0 11px 18px rgba(32,102,220,.16)}.open-btn.green{background:linear-gradient(180deg,var(--green),var(--green-dark));box-shadow:0 11px 18px rgba(20,145,77,.16)}
.bottom-grid{display:grid;grid-template-columns:2.2fr 1fr;gap:12px;margin-top:12px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #edf2f7}.panel-head h3{margin:0;font-size:18px}.panel-head a{font-size:12px;color:#1662d3;font-weight:900}.recent-table{width:100%;border-collapse:collapse}.recent-table th,.recent-table td{padding:12px 16px;border-bottom:1px solid #eff3f8;text-align:left;font-size:12px}.recent-table th{background:#fbfdff;color:#718398;font-size:11px;font-weight:900}.recent-table tr:last-child td{border-bottom:0}.storage-panel{padding-bottom:16px}.quota-pill{padding:7px 10px;border-radius:999px;background:#edf4ff;color:#206de3;font-size:11px;font-weight:900}.storage-main{padding:17px 17px 10px}.storage-main b{font-size:26px}.storage-main span{color:#8a98a8;font-size:13px;font-weight:800}.storage-panel>.storage-bar{margin:0 17px}.storage-rate{display:flex;justify-content:space-between;padding:8px 17px 0;font-size:11px;color:#708197;font-weight:800}.storage-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:13px 17px 0}.storage-cards>div{padding:12px;border-radius:12px;background:#f7faff;border:1px solid #e7eef6}.storage-cards small{display:block;color:#8494a8;font-size:10px;font-weight:800}.storage-cards b{display:block;margin-top:3px;font-size:15px}.storage-panel p{padding:0 17px;margin:12px 0 0;color:#a0aab7;font-size:10px;line-height:1.5}

/* generic pages */
.page-hero{background:linear-gradient(100deg,#e6f1ff,#f2f7fd);border:1px solid #d9e6f4;border-radius:18px;padding:20px 22px;margin-bottom:14px}.page-head h1{font-size:27px;margin:0}.page-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.top{display:flex;justify-content:space-between;gap:12px}.right-actions{display:flex;align-items:center;gap:9px}.secondary,.ghost-btn,.btn,.primary-btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 14px;border-radius:11px;font-size:12px;font-weight:900;border:1px solid #d7e5f8}.secondary,.ghost-btn{background:#f4f8fd;color:#175fcf}.btn,.primary-btn{background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;border:0}.file-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:14px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;box-shadow:var(--shadow)}.summary-card .label{font-size:10px;color:#8190a2;font-weight:900}.summary-card .value{margin-top:4px;font-size:18px;font-weight:900}table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}th,td{padding:13px 15px;border-bottom:1px solid #eff3f8;text-align:left;font-size:12px}th{background:#fbfdff;color:#718398;font-size:11px;font-weight:900}tr:last-child td{border-bottom:0}.item-name{display:flex;align-items:center;gap:9px;font-weight:800}.item-icon{width:30px;height:30px;border-radius:9px;background:#f4f7fb;display:flex;align-items:center;justify-content:center}.actions{display:flex;gap:7px;flex-wrap:wrap}.searchbar{display:flex;height:50px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden;box-shadow:var(--shadow);margin-bottom:14px}.searchbar input{flex:1;border:0;outline:0;padding:0 14px}.searchbar button{width:94px;border:0;background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;font-weight:900}.status{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:999px;font-size:10px;font-weight:900}.status.active{background:#eaf8ef;color:#148750}.status.expired{background:#eef1f4;color:#6e7f90}.danger{height:36px;padding:0 12px;border-radius:10px;border:1px solid #ffd8d8;background:#fff3f3;color:#c43f3f;font-size:11px;font-weight:900}

/* modal */
.modal[hidden]{display:none}.modal{position:fixed;inset:0;background:rgba(14,27,47,.44);display:grid;place-items:center;z-index:99}.modal-card{width:590px;background:#fff;border:1px solid var(--line);border-radius:21px;padding:24px 26px;box-shadow:var(--shadow-lg);position:relative}.modal-close{position:absolute;right:16px;top:13px;width:32px;height:32px;border-radius:9px;border:0;background:#f4f7fb;color:#5d7087;font-size:20px}.modal-heading{display:flex;gap:12px}.modal-icon{width:42px;height:42px;border-radius:12px;background:#eef5ff;display:flex;align-items:center;justify-content:center}.modal-icon img{width:20px}.modal-heading h2{margin:0 0 5px;font-size:21px}.modal-heading p{margin:0;color:var(--muted);font-size:12px}.field{margin-top:13px}.field label{display:block;margin-bottom:7px;font-size:11px;font-weight:900;color:#40566f}.selected-path{padding:12px 13px;border-radius:11px;background:#f6faff;border:1px solid #e1eaf5;font-size:12px;font-weight:800}.radios{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.radios label{display:flex;align-items:center;gap:6px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.input{width:100%;height:42px;border:1px solid #d6e1ee;border-radius:10px;padding:0 12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}

/* public */
.public-card,.success-card{width:min(900px,calc(100vw - 50px));background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow-lg)}.folder-public{width:min(1120px,calc(100vw - 50px))}.copybox{display:flex;gap:8px;margin:16px 0}.copybox input{flex:1;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px}.copybox button{height:42px;padding:0 16px;border:0;border-radius:10px;background:linear-gradient(180deg,var(--blue),var(--blue-dark));color:#fff;font-weight:900}.kv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kv-item{padding:13px;border-radius:12px;background:#f7faff;border:1px solid #e5edf6}.kv-item b{display:block;color:#7b8da2;font-size:10px;margin-bottom:4px}.path-box{padding:13px;border-radius:12px;background:#f7faff;border:1px solid #e5edf6}

@media (min-width:2200px){html,body{zoom:1.04}}

/* v0.7.2: restore v0.7 layout and apply only requested refinements */
.refined-login{grid-template-columns:1fr 1fr;min-height:620px}
.refined-brand-side{padding:42px 50px 38px}
.refined-brand-side h1{font-size:40px;margin:48px 0 16px}
.refined-brand-side>p{font-size:16px;line-height:1.65;max-width:460px}
.compact-feature-list{margin-top:28px;gap:12px}
.compact-feature-item{padding:0}
.compact-feature-item>span{width:38px;height:38px;border-radius:11px}
.compact-feature-item b{font-size:14px}
.compact-feature-item small{font-size:11px}
.brand-security-summary{position:absolute;left:50px;bottom:34px;right:50px;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);z-index:2}
.brand-security-summary b{display:block;font-size:13px;color:#fff}
.brand-security-summary span{display:block;margin-top:4px;font-size:11px;color:rgba(255,255,255,.70)}
.refined-form-side{padding:40px}
.refined-login-card{width:400px}
.login-status-row{display:flex;gap:8px;justify-content:center;margin-top:14px}
.login-status-row span{padding:6px 9px;border-radius:999px;background:#f3f6fa;color:#75859a;font-size:10px;font-weight:800}
.refined-hero-banner{min-height:118px;padding:20px 26px}
.refined-hero-banner .hero-copy{max-width:900px}
.compact-date-card{margin-left:auto;width:138px;min-width:138px}
.hero-art,.laptop-art{display:none!important}
