@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#242622;background:#f8f8f5;font-synthesis:none;--ink:#242622;--muted:#777a77;--line:#e9e9e4;--gold:#a48853;--gold-dark:#7c663d;--gold-light:#f7f2e7;--white:#fff;--soft:#fafaf8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}a{color:#826a40;text-decoration:none}a:hover{color:#5c482a}button,input,textarea{font:inherit}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 20px;border:1px solid #9c8050;border-radius:9px;background:#9c8050;color:#fff;font-size:13px;font-weight:700;letter-spacing:-.015em;cursor:pointer;text-align:center;transition:background .18s,border-color .18s,transform .18s}button:hover,.btn:hover{background:#826a40;border-color:#826a40;color:white;transform:translateY(-1px)}button:focus-visible,.btn:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d2bc91;outline-offset:2px}.secondary{background:#fff;color:#4d4d48;border-color:#e4e3dc}.secondary:hover{background:#faf8f4;color:#252721;border-color:#cfc8b9}.danger{background:#a84646;border-color:#a84646}.danger:hover{background:#8c3333;border-color:#8c3333}.layout{display:flex;min-height:100vh}.side{position:sticky;top:0;align-self:flex-start;display:flex;flex-direction:column;width:252px;height:100vh;padding:31px 19px 22px;flex-shrink:0;background:#fff;border-right:1px solid var(--line)}.brand{font-weight:800;font-size:18px;line-height:1.2;letter-spacing:.12em;color:#262722;margin-bottom:38px;padding:0 12px}.brand:before{content:'N';display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;margin-right:10px;background:#a48853;color:white;border-radius:9px;font-family:Georgia,serif;font-weight:500;letter-spacing:0;font-size:19px;vertical-align:middle}.brand:after{content:'PORTAL';display:block;margin:9px 0 0 55px;font-size:9px;letter-spacing:.38em;font-weight:600;color:#a48853}.nav-caption{margin:13px 12px 8px;color:#a0a19b;font-size:10px;font-weight:700;letter-spacing:.17em}.side>a{display:flex;align-items:center;min-height:43px;padding:11px 13px;margin:2px 0;border-radius:9px;font-size:13px;font-weight:600;color:#636660;transition:background .2s,color .2s}.side>a:before{content:'';display:inline-block;width:5px;height:5px;border:1.5px solid #b7b8b1;border-radius:50%;margin-right:12px;flex-shrink:0}.side>a:hover{background:#f7f5ef;color:#635033}.side>a.active{background:#f8f3e9;color:#7b633b}.side>a.active:before{background:#a48853;border-color:#a48853}.side hr{border:0;border-top:1px solid var(--line);width:100%;margin:19px 0 13px}.side form{margin-top:auto;padding:15px 10px 0!important;border-top:1px solid var(--line)}.side form button{width:100%;font-size:12px}.main{width:100%;min-width:0;max-width:1400px;margin:0 auto;padding:48px clamp(22px,4.5vw,70px) 72px}.top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:29px;padding-bottom:21px;border-bottom:1px solid #e8e7e1}.top h1{font-size:clamp(24px,2.7vw,31px);font-weight:700;line-height:1.3;letter-spacing:-.055em;margin:4px 0 0}.eyebrow{display:block;font-size:10px;letter-spacing:.22em;color:#a48853;font-weight:800}.user-meta{display:flex;gap:11px;align-items:center;white-space:nowrap}.panel{position:relative;background:var(--white);border:1px solid #eae9e4;border-radius:15px;padding:clamp(20px,2.8vw,30px);margin-bottom:20px;box-shadow:0 7px 28px rgba(34,31,24,.025)}.panel h2{font-size:19px;letter-spacing:-.04em;font-weight:700;margin:0 0 19px}.panel h3{font-size:15px;letter-spacing:-.03em;margin:26px 0 14px}.panel p{line-height:1.75}.panel>p:first-child{margin-top:0}.muted{color:var(--muted);font-size:13px;line-height:1.8}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:17px}.formrow{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.field{display:flex;flex-direction:column;gap:9px;flex:1;min-width:180px;margin-bottom:17px;color:#494a46;font-size:12px;font-weight:700;letter-spacing:-.01em}.field input,.field textarea{display:block;width:100%;border:1px solid #e3e2dd;border-radius:9px;padding:12px 13px;background:#fff;color:#252622;font-size:14px;font-weight:500;outline:0;transition:border-color .2s,box-shadow .2s}.field input{min-height:46px}.field input:focus,.field textarea:focus{border-color:#b29a6f;box-shadow:0 0 0 3px rgba(164,136,83,.10)}.field textarea{min-height:132px;resize:vertical;line-height:1.7}.field input[type=file]{padding:16px;border-style:dashed;background:#fbfaf7;min-height:80px}.tablewrap{overflow-x:auto;width:100%}table{width:100%;border-collapse:collapse;min-width:475px}th,td{text-align:left;padding:16px 13px;border-bottom:1px solid #f0efeb;font-size:13px;vertical-align:middle}th{color:#8b8c85;background:#fafaf8;font-size:11px;font-weight:700;letter-spacing:.015em}td{color:#444640}tr:last-child td{border-bottom:0}tr:hover td{background:#fdfcf9}td a{font-weight:700}.tag{display:inline-flex;align-items:center;padding:6px 11px;background:#f6f2e9;border:1px solid #eee5d5;border-radius:20px;color:#856a3b;font-size:11px;line-height:1.3;font-weight:700}.alert{padding:14px 17px;background:#faf5e8;border:1px solid #e9d7af;border-radius:9px;color:#75603c;font-size:13px;margin-bottom:22px}.video{overflow:hidden;border:1px solid #ecebe7;border-radius:13px;padding:13px;background:white}.video strong{display:block;font-size:13px;word-break:break-word;margin-top:2px}.video .muted{font-size:11px;margin:5px 0 12px}.masked{position:relative;overflow:hidden;aspect-ratio:16/10;background:radial-gradient(ellipse at 30% 20%,#ece9e0,#dcdad4 60%,#cfcec8);border-radius:9px;display:flex;align-items:center;justify-content:center;color:#746b5d;font-weight:700;margin-bottom:16px;letter-spacing:.04em;font-size:12px}.masked:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.11) 0 9px,rgba(75,72,66,.06) 9px 18px);filter:blur(10px)}.masked:after{content:'RESTRICTED PREVIEW';position:absolute;left:11px;bottom:11px;color:#6b675f;background:rgba(255,255,255,.72);padding:5px 8px;border-radius:4px;font-size:8px;letter-spacing:.1em}.video details{border-top:1px solid #f0efeb;padding-top:12px}.video summary{cursor:pointer;color:#886b45;font-size:12px;font-weight:700}.video details form{margin-top:15px}.video details button{font-size:12px}.details{white-space:pre-wrap;line-height:2;color:#41423e;font-size:14px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:5px}.kpis .panel{min-width:0;min-height:135px;margin-bottom:18px}.kpis .panel:before{content:'';position:absolute;top:23px;right:25px;width:10px;height:10px;border:2px solid #c5ad80;border-radius:50%}.kpis .panel h1{margin:18px 0 0;font-size:30px;font-weight:700;letter-spacing:-.04em}.kpis .muted{font-weight:600;font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions .btn{background:#faf9f6;border:1px solid #e9e5dd;color:#5f584b}.actions .btn:hover{background:#f5eddf;color:#72572b}.panel .panel{box-shadow:none;background:#fdfdfa;border-color:#eeece5}.panel .top{border:0;padding:0;margin-bottom:10px;align-items:center}.auth-visual{max-width:1080px;display:grid;grid-template-columns:1fr 1fr;min-height:560px;overflow:hidden;margin:5vh auto 0;border:1px solid #e8e5db;background:#fff;border-radius:20px;box-shadow:0 22px 85px rgba(33,28,20,.06)}.auth-hero{background:#eeeae1;position:relative;padding:50px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-hero:before{content:'';position:absolute;width:500px;height:500px;border:1px solid rgba(164,136,83,.32);border-radius:50%;right:-250px;top:75px;box-shadow:0 0 0 65px rgba(164,136,83,.05),0 0 0 130px rgba(164,136,83,.035)}.auth-hero-brand{font-size:12px;letter-spacing:.2em;font-weight:800;color:#6e5c3e;z-index:1}.auth-hero-text{z-index:1}.auth-hero-text h2{font-family:Georgia,'Noto Sans KR',serif;font-size:44px;letter-spacing:-.045em;line-height:1.25;color:#33312d;font-weight:500;margin:0 0 17px}.auth-hero-text p{font-size:13px;line-height:1.9;color:#706e65;max-width:330px}.auth-hero-footer{position:relative;z-index:1;letter-spacing:.22em;font-size:10px;color:#948672;font-weight:700}.auth-pane{display:flex;flex-direction:column;justify-content:center;padding:54px clamp(26px,5vw,70px)}.auth-pane .panel{padding:0;border:0;box-shadow:none;margin:0}.auth-pane .panel>h2{font-size:27px;margin:10px 0 15px}.auth-pane .panel .muted{margin-bottom:26px}.auth-pane .panel form>button{width:100%;margin-top:5px}.auth-pane .panel p:last-child{margin:22px 0 0;font-size:13px;text-align:center}.auth-pane .panel p:last-child a{font-weight:700}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.detail-header .tag{flex-shrink:0}.section-note{margin:-8px 0 20px}.lookup-panel{background:linear-gradient(117deg,#fff 68%,#fbf8f0);border-color:#e8e3d9}.lookup-panel:before{content:'01 / LOOKUP';display:block;color:#ab956e;font-size:10px;letter-spacing:.18em;font-weight:800;margin-bottom:21px}.lookup-panel form button{margin-bottom:17px;min-width:130px}.card-topline{height:3px;width:34px;border-radius:99px;background:#ae9161;margin-bottom:19px}.footer-meta{margin-top:40px;padding-top:20px;border-top:1px solid var(--line);color:#a3a49e;font-size:10px;letter-spacing:.06em;display:flex;justify-content:space-between;gap:10px}small{color:#85877f}details[open] summary{margin-bottom:12px}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#d9d7ce;border-radius:8px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1150px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:32px 27px 58px}.side{width:220px;padding:25px 12px}.brand{padding:0 9px;font-size:15px}}@media(max-width:760px){.layout{display:block}.side{position:relative;width:100%;height:auto;padding:16px 16px 12px;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;flex-wrap:wrap;gap:3px;align-items:center}.brand{width:100%;margin:0 0 7px;padding:0 4px;font-size:16px}.brand:after{display:none}.side>a{min-height:36px;padding:9px 10px;margin:0;font-size:11px}.side>a:before{display:none}.side hr{margin:6px 0;width:100%}.side form{margin:3px 0 0 auto;padding:0!important;border:0}.side form button{min-height:34px;font-size:11px;padding:6px 10px}.nav-caption{width:100%;margin:5px 0 3px}.main{padding:24px 16px 40px}.top{align-items:flex-start;margin-bottom:21px;gap:12px}.top h1{font-size:23px}.user-meta{margin-top:6px;font-size:11px}.panel{padding:20px 17px;border-radius:12px}.formrow{display:block}.formrow button{width:100%}.kpis{gap:10px}.kpis .panel{min-height:111px;padding:17px}.kpis .panel h1{font-size:26px}.grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:11px}.auth-visual{margin:20px auto;display:block;min-height:0}.auth-hero{padding:24px;min-height:145px}.auth-hero-text h2{font-size:28px;margin:14px 0 0}.auth-hero-text p,.auth-hero-footer{display:none}.auth-pane{padding:28px 22px 36px}.footer-meta{flex-direction:column}.lookup-panel form button{margin-bottom:0}}@media(max-width:430px){.grid{grid-template-columns:1fr 1fr}.side>a{font-size:10px}.user-meta .muted{display:none}.actions .btn{flex:1}.kpis .panel:before{top:14px;right:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* V1.3: separate admin portal identity */
.portal-admin{background:#f8f7f3}.portal-admin .side{background:#fffefa;border-right-color:#e6dfd1}.portal-admin .brand{color:#57401f}.portal-admin .nav-caption{color:#a48853}.portal-admin .auth-hero{background:#eae3d5}.portal-admin .auth-hero-brand{color:#735a33}
