:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;background:#f8fafc;font-size:15px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #e2e8f0;background:white;color:#334155;border-radius:8px;padding:9px 14px;font-weight:600}button:hover{background:#f1f5f9}button:disabled{cursor:wait;opacity:.6}.primary{background:#f36f45;color:white;border-color:#f36f45}.primary:hover{background:#e05830}.danger{color:#b32c3d}a{color:#f36f45;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.7px;margin-bottom:4px}h2{font-size:21px}h3{font-size:17px}.muted,.hint{color:#64748b}.hint{font-size:13px}.error{color:#b32c3d}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#ffe6dc,transparent 70%)}.login-card{width:100%;max-width:420px;background:white;padding:36px;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 16px 70px #0f172a10}.brand-icon{display:grid;place-items:center;width:48px;height:48px;background:#f36f45;border-radius:13px;color:white;font-weight:800;font-size:25px;margin-bottom:25px}.login-card form{margin-top:24px}.login-card button{width:100%}.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.navigation{background:#0f172a;color:#cbd5e1;padding:28px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;color:white;font-weight:800;font-size:26px;padding:0 12px;margin-bottom:35px}.brand span{font-size:17px;font-weight:650}.brand small{display:block;font-size:12px;color:#94a3b8;font-weight:400}.navigation nav{display:flex;flex-direction:column;gap:5px}.navigation nav button{text-align:left;border:0;background:transparent;color:#cbd5e1;font-weight:500;padding:12px 14px}.navigation nav button.selected{background:#334155;color:white}.navigation nav button:hover{background:#1e293b;color:white}.profile{margin-top:auto;padding:20px 12px 0;border-top:1px solid #334155;display:flex;flex-direction:column;gap:5px}.profile small{color:#94a3b8}.profile button{margin-top:10px;background:transparent;border-color:#475569;color:#cbd5e1;font-size:13px}main{padding:36px;min-width:0;max-width:1700px;width:100%;margin:0 auto;align-self:start}header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:700;color:#64748b;margin-bottom:8px}header .muted{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid #e2e8f0;border-radius:11px;padding:20px}.stat strong{font-size:30px;display:block;margin-top:6px;line-height:1.2}.stat span{color:#64748b;font-size:13px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.toolbar input{max-width:310px;margin:0}.panel{background:white;border:1px solid #e2e8f0;border-radius:11px;padding:22px}.table-scroll{overflow:auto;border:1px solid #e2e8f0;border-radius:10px;background:white}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;background:#f8fafc;color:#64748b;font-size:11px;letter-spacing:.4px;text-transform:uppercase;padding:15px;white-space:nowrap}td{padding:16px 15px;vertical-align:top;border-top:1px solid #f1f5f9}td small{display:block;color:#64748b;font-size:12px;margin-top:4px}td strong{font-weight:650}td button{font-size:12px;padding:6px 10px}td .actions{display:flex;gap:6px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;font-size:12px;font-weight:600;border-radius:20px;padding:4px 10px;background:#f1f5f9;color:#64748b;white-space:nowrap}.badge.ready,.badge.succeeded,.badge.running{background:#e7f6ee;color:#207849}.badge.failed{background:#feebed;color:#ad3344}.badge.queued,.badge.installing{background:#fff5f2;color:#b94724}.badge.stopped{background:#fff2dd;color:#996515}.empty{padding:50px;text-align:center;color:#64748b}label{display:block;color:#475569;font-size:13px;font-weight:600;margin-bottom:16px}input,textarea,select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:7px;background:white;color:#0f172a;margin-top:6px;outline:none}input:focus,textarea:focus,select:focus{border-color:#f36f45;box-shadow:0 0 0 3px #f36f4526}textarea{min-height:90px;resize:vertical;font-family:ui-monospace,monospace;font-size:12px}input[type=checkbox]{width:auto;margin:0 9px 0 0}.checkbox{display:flex;align-items:center;font-weight:500;padding:14px;background:#f8fafc;border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wide{grid-column:1/-1}.chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 20px}.chip{font-size:11px;background:#fff5f2;padding:5px 8px;border-radius:5px;color:#9a3412}.form-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}dialog{width:min(760px,calc(100vw - 32px));padding:25px;border:1px solid #e2e8f0;border-radius:14px;color:#0f172a;max-height:90vh}dialog::backdrop{background:#0f172a70}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-header h2{margin:0}.dialog-header button{border:0;font-size:26px;line-height:1;padding:4px 8px}pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;color:#e2e8f0;padding:16px;border-radius:9px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;line-height:1.6;max-height:450px}code{font-family:ui-monospace,monospace;font-size:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px}.detail-grid span{display:block;font-size:12px;color:#64748b}.detail-grid strong{font-size:14px}.notice{background:#fff5f2;color:#9a3412;padding:15px;border-radius:8px;font-size:13px;margin-bottom:16px}#message{padding:12px 16px;background:#e8f4ed;color:#246c42;border-radius:9px;margin-bottom:18px}#message.error{background:#fff0f1;color:#ac3341}.api-list td:first-child{font-family:ui-monospace,monospace}.log-status{display:flex;gap:10px;align-items:center;margin-bottom:10px}.text-link{background:none;border:0;color:#f36f45;padding:0;font-size:14px}.spaced{margin-top:22px}.key-output{user-select:all}.meta{font-size:12px;color:#64748b}.search{min-width:150px}.table-caption{font-size:12px;color:#64748b;margin-top:12px}@media(max-width:1000px){main{padding:24px}.app-shell{grid-template-columns:190px minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.navigation{padding-inline:10px}}@media(max-width:700px){.app-shell{display:block}.navigation{position:static;height:auto;padding:16px}.brand{margin-bottom:14px}.navigation nav{flex-direction:row;overflow:auto;gap:5px}.navigation nav button{white-space:nowrap;padding:9px}.profile{margin-top:14px;flex-direction:row;align-items:center;gap:12px;padding-top:12px}.profile button{margin:0 0 0 auto}.profile small{display:none}main{padding:20px}.stats{gap:10px}.stat{padding:15px}h1{font-size:24px}.form-grid,.detail-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none}.login-card{padding:26px}dialog{padding:20px}}

.store-details{display:flex;flex-direction:column;gap:24px}
.store-details .detail-grid{margin-bottom:0}
.store-details .detail-section{margin:0;padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.store-details .detail-section h3{margin-bottom:18px}
.store-details .store-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.store-details button{min-height:44px;padding:11px 18px}
.store-details .store-actions .danger{margin-left:auto;border-color:#edc3c9;background:#fff5f6}
.store-details label{margin-bottom:20px}
.store-details #store-jobs p{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px}
@media(max-width:600px){.store-details .detail-section{padding:16px}.store-details .store-actions{flex-direction:column;align-items:stretch}.store-details .store-actions button{width:100%}.store-details .store-actions .danger{margin-left:0;margin-top:8px}.store-details button{min-height:48px}}

.credential-row{margin-top:20px}.credential-row label{margin-bottom:8px}.credential-controls{display:flex;align-items:center;gap:12px}.credential-controls input{margin:0;min-width:0;flex:1}.credential-controls button{flex-shrink:0}.credential-row+.hint{margin-top:20px}@media(max-width:600px){.credential-controls{flex-wrap:wrap}.credential-controls input{flex-basis:100%}.credential-controls button{flex:1}}

.store-details button.job-name{border:0;background:transparent;color:#f36f45;text-align:left;padding:4px 0}.store-details button.job-name:hover{text-decoration:underline}

.brand-logo{max-width:140px;max-height:56px;object-fit:contain}.login-card .brand-logo{max-width:220px;max-height:90px;margin-bottom:12px}.brand [hidden],.login-card [hidden]{display:none}.branding-panel{margin-bottom:24px}.branding-panel h2{margin-bottom:20px}.branding-panel label button{margin-top:10px}.branding-preview{max-width:100%;width:240px;max-height:120px;object-fit:contain;margin-bottom:20px}.reseller-picker{max-width:420px;margin-bottom:24px}

.brand-contact{display:flex;flex-direction:column;gap:12px;margin:20px 0;overflow-wrap:anywhere;font-size:13px}.brand-contact[hidden]{display:none}.brand-contact a{color:#f36f45}.navigation .brand-contact a{color:#cbd5e1}

/* Default palette from https://hosting-magento.pl/ */
:root{--brand-accent:#f36f45;--brand-hover:#e05830;--brand-ink:#0f172a;--brand-surface:#f8fafc}
.primary,.brand-icon{background:var(--brand-accent);border-color:var(--brand-accent);color:white}
.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:white}
a,.brand-contact a,.store-details button.job-name{color:#b94724}
.brand{color:white}.navigation .brand-contact a{color:#fdba9f}
.navigation nav button.selected{background:#f36f4530;color:white}
button:focus-visible,a:focus-visible{outline:2px solid #b94724;outline-offset:3px}
::selection{background:var(--brand-accent);color:white}

.navigation .brand{flex-direction:column;align-items:flex-start}.navigation .brand-logo.default-logo{width:100%;max-width:100%;max-height:none;background:white;padding:8px;border-radius:6px}.login-card .brand-logo{width:100%;max-width:300px;height:auto}

.favicon-preview{width:48px;height:48px;object-fit:contain;margin-bottom:20px}
