body.amz-main.amz-dashboard-active{background:#eaebef;color:#25262a;font-family:Inter,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}
body.amz-main.amz-dashboard-active #auth-shell-header,body.amz-main.amz-dashboard-active #auth-shell-footer,body.amz-main.amz-dashboard-active #amz-main-nav,body.amz-main.amz-dashboard-active #auth-shell-main>.workspace>*:not(#main-dashboard){display:none!important}
body.amz-main.amz-dashboard-active #auth-shell-main{display:block;max-width:none;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:0}body.amz-main.amz-dashboard-active #auth-shell-main>.workspace{display:block;max-width:none;padding:0;margin:0;gap:0;background:transparent}
#main-dashboard[hidden]{display:none!important}
#main-dashboard{--ink:#25262a;--muted:#8c8f94;--soft:#f7f8f9;--line:#eceef0;--lime:var(--amz-ui-accent);--lime-pale:var(--amz-ui-accent-soft);box-sizing:border-box;width:calc(100% - 48px);max-width:1680px;min-height:calc(100vh - 48px);margin:24px auto;background:#fff;box-shadow:0 20px 90px #30343a0b;border-radius:30px;display:grid;grid-template-columns:86px minmax(0,1fr);overflow:hidden;font-size:13px;letter-spacing:-.035em}
#main-dashboard *{box-sizing:border-box}#main-dashboard h1,#main-dashboard h2,#main-dashboard h3,#main-dashboard p{margin:0}#main-dashboard button,#main-dashboard select{font:inherit}#main-dashboard button{cursor:pointer}#main-dashboard button:focus-visible,#main-dashboard a:focus-visible,#main-dashboard select:focus-visible{outline:3px solid #9fbd4d;outline-offset:3px}
.amz-rail{border-right:1px solid var(--line);padding:27px 10px;display:flex;flex-direction:column;align-items:center;gap:33px;background:#fcfcfd}.amz-logo{display:grid;place-items:center;width:44px;height:44px;font-size:32px;line-height:1;font-weight:800}.amz-logo-caption{font-size:8px;letter-spacing:1px;font-weight:800;text-align:center}.amz-rail nav{display:grid;gap:8px;width:100%}.amz-rail a{height:58px;border-radius:16px;display:grid;place-items:center;align-content:center;gap:4px;color:#8c9097;text-decoration:none;font-size:10px;white-space:nowrap}.amz-rail a span{font-size:19px;line-height:1}.amz-rail a:hover{background:var(--soft);color:var(--ink)}.amz-rail a[aria-current="page"]{background:var(--lime);color:var(--ink)}
.amz-workspace{min-width:0;padding:27px 32px 24px}.amz-top{display:flex;align-items:center;gap:12px;margin-bottom:32px;min-height:34px}.amz-top strong{font-size:12px}.amz-crumb{color:var(--muted);font-size:11px}.amz-live{margin-left:auto;background:var(--lime-pale);border:1px solid #e0eec6;border-radius:30px;color:#53643a;padding:7px 11px;font-size:10px}.amz-user{border:1px solid var(--line);border-radius:25px;padding:7px 13px;font-size:11px}.amz-user b{margin-right:8px;color:#53643a}.amz-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}.amz-eyebrow{color:#93969c;font-size:11px;letter-spacing:.075em;margin-bottom:8px!important}.amz-head h1{font-size:32px;font-weight:550;letter-spacing:-.055em;line-height:1.25}.amz-head h1 i{display:inline-grid;place-items:center;background:var(--lime);font-size:25px;font-style:normal;border-radius:50%;width:39px;height:39px;margin-left:10px}.amz-desc{color:var(--muted);font-size:11px;margin-top:9px!important;line-height:1.6}.amz-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.amz-actions select,.amz-actions button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:9px 13px;font-size:11px;max-width:220px}.amz-actions button{background:#25262a;color:#fff}.amz-actions button:disabled{opacity:.5}.amz-periods{display:flex;background:var(--soft);border-radius:20px;padding:3px}.amz-periods button{background:none;border:0;border-radius:18px;padding:7px 10px;color:var(--muted)}.amz-periods button[aria-pressed="true"]{background:var(--ink);color:#fff}
.amz-status{min-height:20px;color:var(--muted);font-size:11px;margin-bottom:15px!important}.amz-status.error{color:#aa4a43}.amz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.amz-card{border-radius:23px;background:var(--soft);padding:20px;min-width:0}.amz-card.white{background:#fff;border:1px solid var(--line)}.amz-card.accent{background:var(--lime)}.amz-card .amz-kicker{font-size:11px;color:#747982}.amz-card strong.amz-value{display:block;font-size:29px;line-height:1.25;letter-spacing:-.06em;margin:19px 0 7px;font-weight:600;overflow-wrap:anywhere}.amz-card.accent .amz-kicker{color:#566239}.amz-card small{font-size:10px;color:#8c8f94;line-height:1.5}.amz-card.accent small{color:#566239}.amz-content{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:14px;margin-top:15px}.amz-card h2{font-size:13px;font-weight:600;margin-bottom:18px!important}.amz-card h2:before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;background:var(--lime);margin-right:10px;box-shadow:0 0 0 4px #eff6e1}.amz-chart{height:190px;display:flex;align-items:flex-end;gap:8px;border-bottom:1px solid #dcdfe3;padding-top:15px}.amz-chart-bar{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:end;align-items:center;height:100%;gap:7px}.amz-chart-bar i{display:block;width:min(36px,75%);min-height:3px;background:var(--lime);border-radius:7px 7px 0 0}.amz-chart-bar small{font-size:9px;white-space:nowrap}.amz-chart-empty{margin:auto;color:var(--muted);font-size:11px}.amz-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.amz-row:last-child{border:0}.amz-row strong{font-size:14px}.amz-services{margin-top:15px}.amz-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.amz-service{border:1px solid var(--line);border-radius:16px;padding:15px;text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:11px}.amz-service:hover{border-color:#9bbd43;background:#fbfdf5}.amz-service-icon{width:36px;height:36px;border-radius:11px;background:var(--lime-pale);display:grid;place-items:center;font-size:18px}.amz-service b{display:block;font-size:12px}.amz-service small{display:block;margin-top:4px}.amz-table{width:100%;border-collapse:collapse;text-align:left}.amz-table th,.amz-table td{border-bottom:1px solid var(--line);padding:12px 8px;font-size:11px}.amz-table th{color:var(--muted);font-weight:500}.amz-empty{color:var(--muted);font-size:11px;line-height:1.7}.amz-foot{display:flex;justify-content:space-between;gap:15px;margin-top:20px;color:var(--muted);font-size:10px}
@media(max-width:1050px){.amz-grid{grid-template-columns:repeat(2,1fr)}.amz-content{grid-template-columns:1fr}.amz-head{align-items:start;flex-direction:column}.amz-actions{justify-content:flex-start}}
@media(max-width:700px){body.amz-main.amz-dashboard-active{background:#fff}#main-dashboard{width:100%;min-height:100vh;margin:0;border-radius:0;box-shadow:none;display:block}.amz-rail{display:none}.amz-workspace{padding:20px 16px 75px}.amz-head h1{font-size:27px}.amz-top{margin-bottom:25px}.amz-crumb{display:none}.amz-user{display:none}.amz-grid{gap:9px}.amz-card{padding:15px;border-radius:18px}.amz-card strong.amz-value{font-size:23px}.amz-service-grid{grid-template-columns:1fr}.amz-actions select{max-width:100%}.amz-foot{display:block}}
/* Main has its own sign-in identity even though authentication is shared. */
html:has(body.amz-main.auth-view){background:#eaebef}
body.amz-main.auth-view:has(.login-welcome:not([hidden])){max-width:none;background:#eaebef;color:#25262a}
body.amz-main.auth-view #auth-shell-main{background:#eaebef}
body.amz-main.auth-view #login-panel.login-welcome{width:min(100%,480px);padding:48px 42px 34px;border:1px solid #eceef0;border-radius:28px;box-shadow:0 20px 90px #30343a0b}
body.amz-main.auth-view #login-panel .login-story:before{content:'✳';width:58px;height:58px;background:var(--amz-ui-accent);border-radius:19px;font-size:33px;margin-bottom:30px}
body.amz-main.auth-view #login-panel h1{font-size:35px;font-weight:650;letter-spacing:-.06em}
body.amz-main.auth-view #login-panel .login-description{font-size:15px;color:#747980}
body.amz-main.auth-view #login-panel .login-actions{padding-top:35px}
body.amz-main.auth-view #login-panel .login-browse{border:1px solid #eceef0;border-radius:12px;width:100%;margin-top:10px;text-decoration:none}
body.amz-main.auth-view #login-panel .login-test-note{margin-top:17px;color:#8c8f94}
body.amz-main.amz-dashboard-active #amz-dashboard-manage,body.amz-main.amz-dashboard-active #amz-logout{background:#fff;color:#25262a;white-space:nowrap}
@media(max-width:700px){body.amz-main.auth-view:has(.login-welcome:not([hidden])),body.amz-main.auth-view #auth-shell-main{background:#fff}body.amz-main.auth-view #login-panel.login-welcome{padding:28px 8px;border:0;box-shadow:none}body.amz-main.amz-dashboard-active .amz-top>.amz-user{display:inline-flex;font-size:10px;padding:6px 8px}body.amz-main.amz-dashboard-active .amz-live{font-size:9px}}

body.amz-main.auth-pending{max-width:none;background:#eaebef}body.amz-main.auth-pending #auth-loading{background:#eaebef}body.amz-main.auth-pending #auth-loading .brand-logo{font-size:24px;font-weight:750;letter-spacing:-.04em}

.amz-pos-welcome-settings{margin-top:18px}
.amz-pos-welcome-settings h2{margin:0 0 5px}
.amz-pos-welcome-settings p{color:#66717d;font-size:13px}
.amz-pos-welcome-fields{display:flex;align-items:start;gap:22px;margin-top:16px}
.amz-pos-welcome-fields img{width:280px;max-width:35%;height:180px;object-fit:cover;border-radius:12px;background:#eee}
.amz-pos-welcome-fields>div{flex:1;display:grid;gap:9px}
.amz-pos-welcome-fields label{font-size:13px;font-weight:750}
.amz-pos-welcome-fields input{width:100%;min-height:42px;border:1px solid #d5dce3;border-radius:9px;padding:8px 12px;font:inherit}
.amz-pos-welcome-fields small{color:#77818b}
.amz-pos-welcome-fields button{justify-self:start;border:0;border-radius:8px;background:#101821;color:#fff;font:inherit;font-weight:750;padding:11px 18px;cursor:pointer}
.amz-pos-welcome-fields button:disabled{opacity:.5}
#amz-pos-welcome-status{min-height:18px;margin:0}
@media(max-width:720px){.amz-pos-welcome-fields{display:block}.amz-pos-welcome-fields img{max-width:100%;width:100%;margin-bottom:16px}}

/* The authenticated main domain displays the supplied dashboard document. */
body.amz-main.amz-dashboard-active #main-dashboard{display:block;width:100%;max-width:none;min-height:100vh;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
body.amz-main.amz-dashboard-active #main-dashboard > :not(#amz-dashboard-frame){display:none!important}
body.amz-main.amz-dashboard-active #main-dashboard > #amz-dashboard-frame{display:block;width:100%;height:100vh;border:0;background:#eaebef}
body.amz-main.amz-dashboard-active #main-dashboard.amz-settings-open > #amz-pos-welcome-settings{display:block!important;position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(640px,calc(100vw - 24px));max-height:90vh;overflow:auto;background:#fff;box-shadow:0 10px 80px #0005}
#amz-pos-close{float:right;border:1px solid #eceef0;border-radius:8px;background:#fff;padding:7px 12px;cursor:pointer}
@media(max-width:700px){body.amz-main.amz-dashboard-active #main-dashboard > #amz-dashboard-frame{height:100vh}}

/* Presentation palette: white canvas, black text, restrained lime accents. */
body.amz-main.amz-dashboard-active{background:#fff;color:#111}
body.amz-main.amz-dashboard-active #main-dashboard > #amz-dashboard-frame{background:#fff}
#main-dashboard{--ink:#111;--muted:#808080;--soft:#f8f8f8;--line:#e9e9e9;--lime:#d6ff01;--lime-pale:#f5ffd3}
