@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
:root{--blue:#0046ff;--border:#e9e9e9}*{box-sizing:border-box}body{margin:0;background:#f7f7f6;font-family:'DM Sans','Noto Sans KR',sans-serif;color:#242424;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}header{height:68px;background:#fff;border-bottom:1px solid var(--border);padding:0 28px;display:flex;justify-content:space-between;align-items:center}header>div,.actions{display:flex;align-items:center;gap:12px}header a,.textbtn{font-size:12px;font-weight:700}.logo{font-weight:800;font-size:19px;letter-spacing:-1px}.logo span{color:var(--blue)}.textbtn{background:transparent;border:0;cursor:pointer}.layout{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 68px)}aside{padding:22px 14px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:5px}aside a{padding:14px 17px;border-radius:8px;color:#777;font-size:13px}aside a.current,aside a:hover{background:#f1f4ff;color:#0046ff;font-weight:700}aside small{float:right}.content{padding:40px;max-width:1350px;width:100%;margin:0 auto}.page-heading{margin:0 0 26px}.page-heading>span{font-size:10px;color:#999;letter-spacing:2px;font-weight:800}.page-heading h1{font-size:30px;letter-spacing:-1.5px;margin:12px 0}.page-heading p{color:#888}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.stats>a{padding:28px;border:1px solid #ececec;background:#fff;border-radius:12px}.stats strong{font-size:35px;display:block}.stats span{font-size:12px;color:#888}.panel{border:1px solid #ededed;padding:28px;background:#fff;border-radius:12px;margin:0 0 18px}.panel h2{font-size:18px;margin:0 0 22px}.panel p{line-height:1.85;color:#666}.editor,.reply{display:flex;flex-direction:column;gap:15px;max-width:770px}.editor label,.reply label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:8px}.editor input:not([type=checkbox]),.editor select,.reply textarea,.login input{border:1px solid #dcdcdc;border-radius:6px;padding:13px;color:#222;background:#fff;min-width:0}.editor .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor .inline{display:flex;flex-direction:row;align-items:center}.primary,.login button{border:0;border-radius:7px;padding:13px 22px;background:#0046ff;color:white;font-weight:700;cursor:pointer;width:max-content}.record{padding:18px 0;border-bottom:1px solid #eee;display:flex;justify-content:space-between;gap:20px}.record:last-child{border-bottom:0}.record.stack{display:block}.record-title{display:flex;flex-direction:column;gap:8px}.record-title strong{font-size:15px}.record-title span{font-size:11px;color:#999}.detail{padding:16px;background:#f8f8f8;margin:18px 0;border-radius:7px;line-height:1.9;overflow-wrap:anywhere}.detail p{white-space:normal;margin:0 0 12px}.actions{margin-top:10px;flex-wrap:wrap}.smallbtn{background:#fff;border:1px solid #ddd;border-radius:5px;padding:8px 12px;color:#555;cursor:pointer;font-size:11px;display:block}.danger{color:#b54747;border-color:#f1dbdb}.reply{margin-top:18px}.reply textarea{width:100%}.reply small{color:#888}.upload-image{max-width:300px;max-height:240px;object-fit:contain}.edit-icon{width:52px;height:52px;object-fit:cover}.login{width:min(440px,calc(100% - 32px));margin:9vh auto;background:#fff;border:1px solid #ececec;border-radius:13px;padding:38px}.login h1{font-size:27px;letter-spacing:-1px;margin:38px 0 8px}.login p{font-size:13px;color:#888}.login form{display:flex;flex-direction:column;gap:18px;margin:25px 0}.login label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:700}.login button{width:100%}.login>a:last-child{font-size:12px;color:#888}.success,.error{border-radius:6px;padding:14px 16px;margin-bottom:18px;background:#ecf8ef;color:#2d7340;font-size:13px}.error{background:#fff0ef;color:#b24444}hr{border:0;border-top:1px solid #eee;margin:28px 0}
@media(max-width:920px){.layout{grid-template-columns:1fr}aside{flex-direction:row;overflow:auto;border-bottom:1px solid #eee;padding:8px;gap:3px}aside a{white-space:nowrap;padding:10px}.content{padding:22px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){header{padding:0 12px}.logo{font-size:15px}.stats{gap:7px}.stats>a{padding:17px}.stats strong{font-size:28px}.panel{padding:17px}.editor .two{grid-template-columns:1fr}}
/* STUDIO8 Project Analytics 5.5 */
.analytics-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.analytics-period{display:flex;gap:5px;background:#eee;padding:4px;border-radius:9px}.analytics-period a{font-size:12px;padding:11px 17px;border-radius:6px;color:#777}.analytics-period a.selected{background:#202020;color:#fff;font-weight:700}.analytics-export{padding:12px 18px;border:1px solid #ddd;background:#fff;border-radius:8px;font-size:12px;font-weight:700}.analytics-range{font-size:12px;color:#999;margin:14px 0 20px}.analytics-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.analytics-cards>div{padding:23px;border-radius:12px;background:#fff;border:1px solid #ececec;display:flex;flex-direction:column;gap:9px}.analytics-cards small{font-size:12px;color:#777}.analytics-cards strong{font-size:30px;letter-spacing:-1.4px;font-variant-numeric:tabular-nums}.analytics-cards span{font-size:11px;color:#999}.analytics-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.analytics-panel-title h2{margin:0}.analytics-panel-title span{font-size:11px;color:#888}.analytics-chart{display:flex;height:215px;align-items:stretch;gap:3px;overflow-x:auto;padding:14px 0 2px}.analytics-col{min-width:8px;flex:1 0 8px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px}.analytics-bars{width:100%;height:175px;display:flex;gap:2px;align-items:end;justify-content:center;border-bottom:1px solid #eee}.analytics-bar{display:block;max-width:22px;flex:1;min-height:2px;border-radius:3px 3px 0 0}.analytics-bar.views{background:#242424}.analytics-bar.visitors{background:#b72d3c}.analytics-col small{font-size:9px;color:#999;white-space:nowrap;writing-mode:vertical-rl;max-height:21px;overflow:hidden}.analytics-legend{display:flex;justify-content:flex-end;gap:16px;font-size:11px;color:#666;margin-top:14px}.analytics-legend span{display:flex;align-items:center;gap:7px}.analytics-legend i{width:10px;height:10px;display:inline-block;border-radius:2px}.legend-pv{background:#242424}.legend-uv{background:#b72d3c}.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.analytics-grid .panel{margin-bottom:0}.analytics-entry{padding:10px 0}.analytics-entry>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}.analytics-entry>div:first-child span{min-width:0;overflow-wrap:anywhere;color:#555}.analytics-entry b{font-variant-numeric:tabular-nums}.analytics-track{height:5px;border-radius:10px;background:#f1f1f1;margin-top:9px;overflow:hidden}.analytics-track i{display:block;height:100%;background:#b12e3d;border-radius:10px}.analytics-empty,.analytics-note{font-size:12px!important;color:#999!important}.analytics-events{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.analytics-events>div{padding:20px;background:#f7f7f6;display:flex;flex-direction:column;gap:9px;border-radius:8px}.analytics-events strong{font-size:28px}.analytics-events span{font-size:12px;color:#777}.analytics-panel p{font-size:12px}
@media(max-width:950px){.analytics-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.analytics-grid{grid-template-columns:1fr}.analytics-events{grid-template-columns:1fr}.analytics-cards>div{padding:16px}.analytics-cards strong{font-size:25px}.analytics-panel-title{align-items:flex-start;flex-direction:column}.analytics-chart{gap:4px}.analytics-col{min-width:11px}.analytics-col small{font-size:8px}}

.analytics-hours{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:5px}.analytics-hours>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.analytics-hour-bar{width:100%;height:105px;display:flex;align-items:flex-end;background:#f7f7f7;border-radius:3px}.analytics-hour-bar span{width:100%;background:#b12e3d;border-radius:3px 3px 0 0}.analytics-hours small{font-size:9px;color:#999}@media(max-width:640px){.analytics-hours{gap:2px}.analytics-hours small{font-size:7px}}

/* STUDIO8 Project Analytics 5.6: daily counters, interactive graph & table */
.s8-daily-overview{margin-bottom:20px}.s8-daily-overview .analytics-panel-title a{font-size:12px;color:#ad2335;text-decoration:none;font-weight:700}.s8-daily-overview .analytics-panel-title small{font-size:12px;color:#8c8c8c;margin-left:8px;font-weight:400}
.s8-daily-counter-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:22px 0 12px}.s8-daily-counter-head h2{margin:0 0 5px;font-size:20px}.s8-daily-counter-head p{margin:0;color:#858585;font-size:12px}.s8-daily-counter-head>span{font-size:12px;color:#aa293a;white-space:nowrap;font-weight:700}
.s8-daily-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.s8-kpi{border:1px solid #ece9e8;border-radius:12px;background:#fff;padding:20px 24px;display:flex;flex-direction:column;gap:8px}.s8-kpi small{font-size:12px;color:#666}.s8-kpi strong{font-size:clamp(28px,3vw,44px);font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#222}.s8-kpi:nth-child(2) strong{color:#ae293c}.s8-kpi span{color:#888;font-size:11px}.s8-daily-kpis-detail{margin-bottom:16px}
.analytics-chart .analytics-col{border:0;background:none;padding:0;cursor:pointer;appearance:none;font-family:inherit;color:inherit}.analytics-chart .analytics-col:hover .analytics-bars,.analytics-chart .analytics-col.is-selected .analytics-bars{background:#f6efef}.analytics-chart .analytics-col:focus-visible{outline:2px solid #a9233a;outline-offset:3px}.analytics-chart .analytics-col.is-selected small{color:#a9233a;font-weight:700}
.s8-daily-table{margin-top:16px}.s8-table-wrap{max-height:370px;overflow:auto}.s8-daily-table table{width:100%;border-collapse:collapse;text-align:right;font-size:13px;font-variant-numeric:tabular-nums}.s8-daily-table th,.s8-daily-table td{padding:13px 12px;border-bottom:1px solid #eee}.s8-daily-table th{position:sticky;top:0;background:white;font-size:11px;color:#777}.s8-daily-table th:first-child,.s8-daily-table td:first-child{text-align:left}.s8-daily-table tbody tr{cursor:pointer}.s8-daily-table tbody tr:hover,.s8-daily-table tbody tr.is-selected{background:#fff3f3}.s8-daily-table tbody tr:focus-visible{outline:2px solid #ad293c}
.s8-week-mini{margin-top:18px}.s8-week-mini>span{font-size:11px;color:#858585}.s8-week-mini>div{height:100px;display:flex;align-items:end;gap:10px;margin-top:8px}.s8-week-mini>div>div{height:100%;display:flex;align-items:end;gap:3px;flex:1;max-width:70px}.s8-week-mini i,.s8-week-mini b{display:block;flex:1;min-width:2px;background:#272727;border-radius:3px 3px 0 0}.s8-week-mini b{background:#b02c3c}
@media(max-width:650px){.s8-daily-counter-head{align-items:start;flex-direction:column}.s8-kpi{padding:15px}.s8-daily-table th,.s8-daily-table td{padding:11px 5px;font-size:11px}}
