:root{--hs-card:#fff;--hs-text:#171717;--hs-muted:#77736b;--hs-line:#e6e1d7;--hs-dark:#111;--hs-soft:#f7f5f0}.hs-production-app,.hs-admin-wrap{box-sizing:border-box;color:var(--hs-text)}.hs-production-app *,.hs-admin-wrap *{box-sizing:border-box}.hs-admin-wrap{max-width:1500px}.hs-admin-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:18px 0 14px}.hs-admin-titlebar h1{margin:4px 0 0}.hs-eyebrow,.hs-brand{font-size:12px;font-weight:800;letter-spacing:.16em;color:var(--hs-muted)}.hs-section-nav{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.hs-section-nav a{text-decoration:none;padding:8px 12px;border:1px solid #dcdcde;border-radius:999px;background:#fff;color:#2c3338;font-weight:600}.hs-admin-grid{display:grid;grid-template-columns:minmax(330px,430px) 1fr;gap:22px;align-items:start}.hs-panel{background:#fff;border:1px solid #dcdcde;border-radius:14px;padding:22px}.hs-panel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.hs-panel h2{margin:5px 0 0}.hs-create-form,.hs-create-form label{display:grid;gap:7px}.hs-create-form{gap:15px}.hs-create-form label>span,.hs-field-label,.hs-add-championship-form label>span{font-weight:700;font-size:12px;color:#625f59}.hs-create-form input,.hs-create-form select,.hs-create-form textarea{width:100%}.hs-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hs-field-help,.hs-muted{color:var(--hs-muted)}.hs-field-help{font-size:11px;line-height:1.4}.hs-product-picker{position:relative;display:grid;gap:7px}.hs-product-search-input{min-height:42px}.hs-product-results{position:absolute;z-index:50;top:73px;left:0;right:0;max-height:380px;overflow-y:auto;padding:6px;border:1px solid var(--hs-line);border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.12)}.hs-product-result{width:100%;display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;padding:8px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.hs-product-result:hover,.hs-product-result.is-active{background:#f1efe9}.hs-product-result__image{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#f7f5f0}.hs-product-result__image img{display:block;max-width:100%;max-height:100%;object-fit:contain}.hs-product-result__text{min-width:0;display:grid;gap:2px}.hs-product-result__text strong{overflow-wrap:anywhere}.hs-product-result__text small{color:var(--hs-muted)}.hs-product-result__placeholder,.hs-selected-product__placeholder{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--hs-muted)}.hs-product-picker-message{min-height:18px;color:var(--hs-muted);font-size:12px}.hs-selected-product{display:grid;grid-template-columns:76px 1fr;gap:12px;padding:12px;border:1px solid var(--hs-line);border-radius:10px;background:#faf9f6}.hs-selected-product__image{width:76px;min-height:76px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#f2efe8}.hs-selected-product__image img{max-width:100%;max-height:92px;object-fit:contain}.hs-field-group{display:grid;gap:8px}.hs-format-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hs-format-button{min-height:66px;padding:10px;border:1px solid #cfcac0;border-radius:10px;background:#fff;cursor:pointer;display:grid;place-items:center;gap:2px}.hs-format-button strong{font-size:15px}.hs-format-button span{color:var(--hs-muted);font-size:12px}.hs-format-button.is-selected{background:#171717;border-color:#171717;color:#fff}.hs-format-button.is-selected span{color:#d7d7d7}.hs-production-note-preview{padding:12px 14px;border-radius:10px;border:1px solid #d8d3c9;background:#f7f4ea;line-height:1.5;font-size:13px}.hs-production-note-preview.is-missing{color:#796f61;font-style:italic}.hs-order-list{display:grid;gap:16px}.hs-order-card{display:grid;grid-template-columns:95px 1fr;gap:15px;padding:15px;border:1px solid #ece7df;border-left:4px solid #c6c1b6;border-radius:12px;background:#fff}.hs-priority-urgent{border-left-color:#9f1d20!important}.hs-priority-high{border-left-color:#c46c26!important}.hs-priority-normal{border-left-color:#7b8573!important}.hs-priority-low{border-left-color:#aaa!important}.hs-order-card__image{display:grid;place-items:center;min-height:95px;background:var(--hs-soft);border-radius:9px;overflow:hidden}.hs-order-card__image img{width:100%;height:auto;display:block}.hs-order-card__top{display:flex;justify-content:space-between;gap:16px}.hs-order-card h3{margin:7px 0 3px;font-size:17px}.hs-badges{display:flex;flex-wrap:wrap;gap:7px}.hs-badge{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;background:#efede8;color:#5f5b53;font-size:11px;font-weight:800;letter-spacing:.04em}.hs-badge--pending{background:#eee8d9;color:#735c24}.hs-badge--in_progress{background:#dfe8ed;color:#31566b}.hs-badge--completed{background:#e1ebe1;color:#2f6036}.hs-badge--cancelled{background:#eee0e0;color:#743939}.hs-badge--format{background:#ece7f3;color:#513c6d}.hs-qty{min-width:65px;text-align:right;font-size:32px;font-weight:900;line-height:.9}.hs-qty span{display:block;margin-top:6px;color:var(--hs-muted);font-size:11px;font-weight:700}.hs-product-reference,.hs-note{margin:13px 0 0;padding:11px 13px;border-radius:9px;line-height:1.45}.hs-product-reference{border:1px solid var(--hs-line);background:#faf9f6;color:#555149}.hs-note{background:#f7f3e9;color:#514a3d}.hs-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:10px;margin-top:13px;padding-top:13px;border-top:1px solid var(--hs-line);color:var(--hs-muted);font-size:12px}.hs-meta-grid strong{color:#3a3936}.hs-order-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.hs-delete-button{color:#9b1c1c!important;border-color:#d8aaaa!important}.hs-insert-stock-panel,.hs-access-panel{margin-top:22px}.hs-stock-explainer{margin-bottom:16px;padding:12px 14px;border-radius:10px;border:1px solid #d8d3c9;background:#f7f4ea;line-height:1.5}.hs-add-championship-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:18px;padding:13px;border:1px solid var(--hs-line);border-radius:10px;background:#faf9f6}.hs-add-championship-form label{display:grid;gap:6px}.hs-add-championship-form input{width:180px}.hs-add-championship-form small{width:100%;color:var(--hs-muted)}.hs-stock-form{display:grid;gap:14px}.hs-stock-search-label{display:grid;gap:6px;max-width:420px}.hs-stock-search-label>span{font-weight:700;font-size:12px;color:#625f59}.hs-stock-table-wrap{overflow-x:auto}.hs-stock-table td,.hs-stock-table th{vertical-align:middle}.hs-stock-number{width:110px!important;text-align:right}.hs-stock-key{font-size:18px}.hs-access-url{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:7px 12px;align-items:center;margin-bottom:20px;padding:14px;border-radius:10px;background:#f7f5f0}.hs-access-url span{grid-column:1/-1;color:var(--hs-muted)}.hs-access-grid{display:grid;grid-template-columns:360px 1fr;gap:22px}.hs-access-create{padding-right:22px;border-right:1px solid var(--hs-line)}.hs-department-fieldset{display:flex;flex-wrap:wrap;gap:12px 18px;padding:12px;border:1px solid var(--hs-line);border-radius:9px}.hs-worker-admin-list{display:grid;gap:12px;align-content:start}.hs-worker-admin-card{display:grid;gap:12px;padding:14px;border:1px solid var(--hs-line);border-radius:10px}.hs-worker-admin-head{display:flex;justify-content:space-between;gap:12px}.hs-access-status{align-self:start;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.hs-access-status.is-active{background:#e1ebe1;color:#2f6036}.hs-access-status.is-inactive{background:#eee0e0;color:#743939}.hs-worker-admin-controls{display:flex;flex-wrap:wrap;gap:10px 18px}.hs-new-password{display:grid;gap:5px}.hs-new-password span{font-size:11px;color:var(--hs-muted)}.hs-delete-employee-form{margin:-5px 0 8px 14px}.hs-production-app{max-width:1120px;margin:36px auto;padding:0 18px 60px}.hs-app-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--hs-line)}.hs-app-header h1{margin:5px 0 0;font-size:clamp(38px,7vw,68px);line-height:1.05}.hs-user-box{text-align:right;display:grid;gap:5px}.hs-link-button{border:0;background:transparent;padding:0;color:var(--hs-muted);cursor:pointer;text-decoration:underline}.hs-app-summary{display:flex;justify-content:space-between;gap:16px;padding:16px 2px 26px;color:var(--hs-muted)}.hs-worker-list{display:grid;gap:18px}.hs-worker-card{display:grid;grid-template-columns:260px 1fr;overflow:hidden;border:1px solid var(--hs-line);border-left:5px solid #c6c1b6;border-radius:18px;background:var(--hs-card);box-shadow:0 12px 36px rgba(0,0,0,.045)}.hs-worker-card__image{min-height:300px;background:var(--hs-soft);display:grid;place-items:center;padding:22px}.hs-worker-card__image img{display:block;width:100%;max-width:230px;height:auto;object-fit:contain}.hs-product-image--placeholder{width:100%;aspect-ratio:1;display:grid;place-items:center;background:#ece8df;color:#8c887f;font-weight:900;letter-spacing:.15em}.hs-worker-card__body{padding:28px}.hs-worker-card h2{margin:12px 0 2px;font-size:clamp(25px,4vw,38px);line-height:1.08}.hs-sku{color:var(--hs-muted);font-size:13px}.hs-worker-format{display:inline-block;margin-top:18px;padding:10px 13px;border-radius:9px;background:#ece7f3;color:#513c6d;font-weight:900;font-size:14px}.hs-worker-qty{display:flex;align-items:baseline;gap:10px;margin:22px 0}.hs-worker-qty__number{font-size:72px;line-height:.9;font-weight:900;letter-spacing:-.05em}.hs-worker-qty__label{color:var(--hs-muted);font-size:16px}.hs-product-reference--worker,.hs-note--worker{margin:22px 0;padding:15px 16px;font-size:14px}.hs-action-button{width:100%;border:0;border-radius:12px;padding:17px 22px;font-weight:900;letter-spacing:.04em;cursor:pointer;font-size:16px}.hs-action-button--start,.hs-action-button--stock{background:var(--hs-dark);color:#fff}.hs-action-button--done{background:#e3ebe2;color:#204628;border:1px solid #c8d6c7}.hs-started-time{margin:0 0 10px;color:var(--hs-muted);text-align:center;font-size:13px}.hs-worker-empty,.hs-login-box{max-width:520px;margin:40px auto;padding:40px 30px;text-align:center;border:1px solid var(--hs-line);border-radius:18px;background:#fff}.hs-worker-empty__icon{font-size:50px}.hs-employee-login-form{display:grid;gap:14px;text-align:left}.hs-employee-login-form label{display:grid;gap:6px}.hs-employee-login-form input{width:100%;min-height:44px}.hs-login-error{margin:12px 0;padding:10px 12px;border-radius:9px;background:#eee0e0;color:#743939}.hs-worker-stock-section{margin-top:36px;padding-top:30px;border-top:1px solid var(--hs-line)}.hs-worker-stock-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.hs-worker-stock-head h2{margin:4px 0 0;font-size:30px}.hs-worker-stock-saved{margin-bottom:14px;padding:12px 14px;border-radius:10px;background:#e1ebe1;color:#2f6036;font-weight:700}.hs-worker-stock-list{display:grid;gap:10px}.hs-worker-stock-row{display:grid;grid-template-columns:minmax(160px,1fr) 120px 120px;align-items:center;gap:16px;padding:13px 15px;border:1px solid var(--hs-line);border-radius:11px;background:#fff}.hs-worker-stock-product{display:grid;gap:2px}.hs-worker-stock-qty{display:grid;gap:4px}.hs-worker-stock-qty span{color:var(--hs-muted);font-size:12px;font-weight:700}.hs-worker-stock-qty input{width:100%;min-height:44px;text-align:right;font-size:18px;font-weight:800}@media(max-width:1000px){.hs-admin-grid,.hs-access-grid{grid-template-columns:1fr}.hs-access-create{padding-right:0;padding-bottom:18px;border-right:0;border-bottom:1px solid var(--hs-line)}}@media(max-width:720px){.hs-worker-card{grid-template-columns:1fr}.hs-worker-card__image{min-height:190px;max-height:260px}.hs-worker-card__image img{max-height:220px;width:auto}.hs-app-header,.hs-admin-titlebar{align-items:flex-start;flex-direction:column}.hs-user-box{text-align:left}.hs-worker-card__body{padding:22px}.hs-worker-qty__number{font-size:60px}.hs-two-col,.hs-meta-grid{grid-template-columns:1fr}.hs-order-card{grid-template-columns:70px 1fr}.hs-access-url{grid-template-columns:1fr}.hs-format-options{grid-template-columns:1fr}.hs-worker-stock-row{grid-template-columns:1fr 1fr}.hs-worker-stock-product{grid-column:1/-1}}

.hs-inline-success,
.hs-inline-error {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 9px;
    font-weight: 700;
}
.hs-inline-success {
    background: #e1ebe1;
    color: #2f6036;
    border: 1px solid #c9dbc9;
}
.hs-inline-error {
    background: #f4e3e3;
    color: #7a2d2d;
    border: 1px solid #dfbebe;
}
.hs-employee-storage-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid var(--hs-line);
    border-radius: 9px;
    background: #faf9f6;
}


/* V0.6 clean workflow */
.hs-type-options { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.hs-type-button { min-height:48px; border:1px solid #cfcac0; border-radius:10px; background:#fff; font-weight:900; cursor:pointer; }
.hs-type-button.is-selected { background:var(--hs-dark); border-color:var(--hs-dark); color:#fff; }

.hs-auto-worker { display:grid; gap:3px; padding:12px 14px; border:1px solid var(--hs-line); border-radius:10px; background:#faf9f6; }
.hs-auto-worker span { color:var(--hs-muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }

.hs-order-card--v6 { border-left:1px solid #ece7df !important; }
.hs-order-v6-head,.hs-worker-v6-top { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }
.hs-order-kind { display:grid; gap:3px; }
.hs-order-kind strong { font-size:16px; letter-spacing:.08em; }
.hs-order-kind span { color:var(--hs-muted); font-size:13px; }
.hs-order-number-status { display:flex; gap:10px; align-items:center; }
.hs-order-number { display:flex; align-items:baseline; gap:5px; }
.hs-order-number>span { color:var(--hs-muted); font-size:10px; font-weight:800; letter-spacing:.08em; }
.hs-order-number strong { font-size:31px; line-height:1; }
.hs-order-number small { color:var(--hs-muted); font-weight:700; }
.hs-order-status { display:inline-flex; align-items:center; min-height:28px; padding:5px 9px; border-radius:999px; font-size:10px; font-weight:900; letter-spacing:.05em; white-space:nowrap; }
.hs-order-status--pending { background:#eee8d9; color:#735c24; }
.hs-order-status--in_progress { background:#dfe8ed; color:#31566b; }
.hs-order-status--completed { background:#e1ebe1; color:#2f6036; }
.hs-order-status--cancelled { background:#eee0e0; color:#743939; }
.hs-order-worker-line { display:flex; gap:7px; margin-top:9px; font-size:12px; }
.hs-order-worker-line span { color:var(--hs-muted); }

.hs-insert-year-image { width:100%; min-height:94px; display:grid; place-items:center; align-content:center; gap:4px; border-radius:8px; background:#f1eee7; }
.hs-insert-year-image span { font-size:10px; letter-spacing:.12em; color:var(--hs-muted); font-weight:900; }
.hs-insert-year-image strong { font-size:26px; }
.hs-insert-year-image--large { min-height:230px; }
.hs-insert-year-image--large strong { font-size:52px; }

.hs-completion-summary { display:grid; grid-template-columns:auto auto minmax(220px,1fr); gap:12px; align-items:end; margin-top:14px; padding:13px; border-radius:10px; background:#f7f5f0; }
.hs-completion-summary>div { display:grid; gap:3px; }
.hs-completion-summary span { color:var(--hs-muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.hs-completion-summary strong { font-size:17px; }
.hs-confirm-form { display:flex; gap:8px; align-items:end; justify-content:flex-end; }
.hs-confirm-form label { display:grid; gap:4px; }
.hs-confirm-form input { width:90px; }
.hs-confirmed-box { justify-self:end; min-width:160px; padding-left:12px; border-left:1px solid var(--hs-line); }
.hs-confirmed-box span { color:#2f6036; }
.hs-confirmed-box small { color:var(--hs-muted); }
.hs-meta-grid--v6 { grid-template-columns:repeat(3,minmax(100px,1fr)); }

.hs-notes-panel,.hs-payments-panel { margin-top:22px; }
.hs-notes-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:24px; margin-bottom:16px; }
.hs-notes-subhead { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-bottom:10px; }
.hs-notes-subhead h3 { margin:0; }
.hs-notes-subhead input { max-width:220px; }
.hs-note-editor-list { display:grid; gap:9px; max-height:650px; overflow-y:auto; padding-right:5px; }
.hs-note-editor-row { display:grid; grid-template-columns:minmax(180px,250px) 1fr; gap:12px; align-items:start; padding:11px; border:1px solid var(--hs-line); border-radius:9px; background:#fff; }
.hs-note-editor-row--insert { grid-template-columns:120px 1fr; }
.hs-note-editor-label { display:grid; gap:3px; }
.hs-note-editor-label span { color:var(--hs-muted); font-size:11px; }
.hs-note-editor-row textarea { width:100%; min-height:75px; }

.hs-payment-top-grid { display:grid; grid-template-columns:minmax(300px,1fr) minmax(300px,1fr); gap:22px; margin-bottom:24px; }
.hs-payment-top-grid h3 { margin:0 0 4px; }
.hs-balance { min-width:245px; display:grid; gap:2px; text-align:right; }
.hs-balance span { color:var(--hs-muted); font-size:10px; font-weight:900; letter-spacing:.08em; }
.hs-balance strong { font-size:28px; }
.hs-balance small { color:var(--hs-muted); }
.hs-balance.is-negative strong,.hs-money-negative { color:#9b1c1c; }
.hs-balance.is-positive strong,.hs-money-positive { color:#2f6036; }
.hs-ledger-table-wrap { overflow-x:auto; }

.hs-fixed-workers-form { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hs-fixed-workers-form>button { grid-column:1/-1; justify-self:start; }
.hs-fixed-worker-card { display:grid; gap:12px; padding:16px; border:1px solid var(--hs-line); border-radius:11px; background:#faf9f6; }
.hs-fixed-worker-card label:not(.hs-worker-active-toggle) { display:grid; gap:5px; }
.hs-fixed-worker-card label>span { color:var(--hs-muted); font-size:11px; font-weight:700; }
.hs-worker-active-toggle { display:flex; gap:7px; align-items:center; }

.hs-worker-card--v6 { border-left:1px solid var(--hs-line) !important; }
.hs-order-kind--worker strong { font-size:20px; }
.hs-order-kind--worker span { font-size:15px; }
.hs-order-number-status--worker .hs-order-number strong { font-size:43px; }
.hs-done-correction { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin:18px 0 12px; }
.hs-done-correction>div,.hs-done-correction>label { display:grid; gap:5px; padding:11px; border:1px solid var(--hs-line); border-radius:9px; background:#faf9f6; }
.hs-done-correction span { color:var(--hs-muted); font-size:11px; font-weight:800; text-transform:uppercase; }
.hs-done-correction strong,.hs-done-correction input { font-size:25px; font-weight:900; }
.hs-done-correction input { width:100%; }

@media (max-width:1000px) {
    .hs-notes-grid,.hs-payment-top-grid,.hs-fixed-workers-form { grid-template-columns:1fr; }
    .hs-fixed-workers-form>button { grid-column:1; }
}
@media (max-width:720px) {
    .hs-order-v6-head,.hs-worker-v6-top { flex-direction:column; }
    .hs-order-number-status { width:100%; justify-content:space-between; }
    .hs-completion-summary { grid-template-columns:1fr 1fr; }
    .hs-confirm-form,.hs-confirmed-box { grid-column:1/-1; justify-self:stretch; }
    .hs-confirm-form { justify-content:flex-start; }
    .hs-note-editor-row,.hs-note-editor-row--insert { grid-template-columns:1fr; }
    .hs-done-correction { grid-template-columns:1fr 1fr 1fr; }
}


/* ========================= V0.7 persistent binder catalog ========================= */

.hs-add-binder-form {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) 170px 125px minmax(220px, 1.4fr) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--hs-line);
    border-radius: 10px;
    background: #faf9f6;
}
.hs-add-binder-form > label {
    display: grid;
    gap: 5px;
}
.hs-add-binder-form span {
    color: var(--hs-muted);
    font-size: 11px;
    font-weight: 700;
}
.hs-notes-grid--catalog {
    grid-template-columns: minmax(650px, 1.6fr) minmax(330px, .75fr);
}
.hs-catalog-header {
    display: grid;
    grid-template-columns: minmax(125px, 165px) 150px 110px 1fr;
    gap: 10px;
    padding: 0 11px 7px;
    color: var(--hs-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hs-note-editor-list--catalog {
    max-height: 800px;
}
.hs-catalog-row {
    grid-template-columns: minmax(125px, 165px) 150px 110px 1fr !important;
    align-items: center;
}
.hs-catalog-sku {
    overflow-wrap: anywhere;
}
.hs-catalog-row select,
.hs-catalog-row input,
.hs-catalog-row textarea {
    width: 100%;
}
.hs-catalog-price {
    text-align: right;
    font-weight: 800;
}
.hs-selected-meta {
    margin-top: 6px;
    color: #513c6d;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .hs-add-binder-form {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .hs-add-binder-note {
        grid-column: 1 / 3;
    }
    .hs-notes-grid--catalog {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hs-add-binder-form {
        grid-template-columns: 1fr;
    }
    .hs-add-binder-note {
        grid-column: 1;
    }
    .hs-catalog-header {
        display: none;
    }
    .hs-catalog-row {
        grid-template-columns: 1fr !important;
    }
}


/* ========================= V0.8 accounting + print queues ========================= */

.hs-stock-admin-lock {
    display: grid;
    gap: 4px;
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #d8d3c9;
    border-radius: 10px;
    background: #f7f4ea;
}
.hs-stock-admin-lock strong {
    font-size: 11px;
    letter-spacing: .07em;
}
.hs-stock-admin-lock span {
    color: var(--hs-muted);
    font-size: 12px;
}
.hs-readonly-stock {
    display: inline-flex;
    min-width: 64px;
    justify-content: flex-end;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f4f3ef;
    font-weight: 900;
    font-size: 16px;
}
.hs-readonly-stock.is-low {
    background: #f4e4df;
    color: #8c3225;
}

.hs-admin-print-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
}
.hs-admin-print-group,
.hs-print-group-card {
    padding: 16px;
    border: 1px solid var(--hs-line);
    border-radius: 12px;
    background: #fff;
}
.hs-print-group-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.hs-print-group-head h3 {
    margin: 4px 0 0;
    font-size: 21px;
}
.hs-print-readiness {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    white-space: nowrap;
}
.hs-print-readiness.is-building {
    background: #eee8d9;
    color: #735c24;
}
.hs-print-readiness.is-ready {
    background: #e1ebe1;
    color: #2f6036;
}
.hs-admin-print-lines {
    display: grid;
    gap: 6px;
}
.hs-admin-print-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #faf9f6;
}
.hs-admin-print-line span {
    color: var(--hs-muted);
    font-size: 12px;
}

.hs-worker-accounting-section,
.hs-worker-print-orders {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--hs-line);
}
.hs-worker-due {
    min-width: 250px;
    display: grid;
    gap: 2px;
    text-align: right;
}
.hs-worker-due span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}
.hs-worker-due strong {
    font-size: 29px;
}
.hs-worker-due small {
    color: var(--hs-muted);
}
.hs-worker-due.is-due strong {
    color: #2f6036;
}
.hs-worker-due.is-advance strong {
    color: #735c24;
}
.hs-worker-due.is-settled strong {
    color: #555149;
}
.hs-worker-accounting-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.hs-worker-accounting-totals > div {
    display: grid;
    gap: 4px;
    padding: 15px;
    border: 1px solid var(--hs-line);
    border-radius: 10px;
    background: #faf9f6;
}
.hs-worker-accounting-totals span {
    color: var(--hs-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
}
.hs-worker-accounting-totals strong {
    font-size: 23px;
}
.hs-worker-ledger {
    display: grid;
    gap: 8px;
}
.hs-worker-ledger h3 {
    margin-bottom: 4px;
}
.hs-worker-ledger-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid var(--hs-line);
    border-radius: 9px;
    background: #fff;
}
.hs-worker-ledger-row > div:first-child {
    display: grid;
    gap: 2px;
}
.hs-worker-ledger-row > div:first-child span {
    color: var(--hs-muted);
    font-size: 11px;
}
.hs-worker-ledger-detail {
    color: #4b4842;
}
.hs-worker-ledger-detail small {
    display: block;
    color: var(--hs-muted);
    margin-top: 2px;
}
.hs-worker-ledger-payment {
    color: #31566b;
}
.hs-worker-ledger-earned {
    color: #2f6036;
}

.hs-print-order-form {
    display: grid;
    gap: 18px;
}
.hs-print-line-header,
.hs-print-line {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) 140px 140px;
    gap: 12px;
    align-items: center;
}
.hs-print-line-header {
    padding: 0 10px 6px;
    color: var(--hs-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hs-print-lines {
    display: grid;
    gap: 7px;
}
.hs-print-line {
    padding: 10px;
    border-radius: 9px;
    background: #faf9f6;
    border: 1px solid var(--hs-line);
}
.hs-print-current {
    font-size: 17px;
    font-weight: 900;
}
.hs-print-line input {
    width: 100%;
    min-height: 42px;
    text-align: right;
    font-size: 17px;
    font-weight: 900;
}
.hs-print-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}
.hs-print-summary > div {
    display: grid;
    gap: 4px;
    padding: 11px;
    border-radius: 9px;
    background: #f3f1eb;
}
.hs-print-summary span {
    color: var(--hs-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
}
.hs-print-summary strong {
    font-size: 22px;
}
.hs-print-remaining {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #eee8d9;
    color: #735c24;
}

@media (max-width: 900px) {
    .hs-admin-print-groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hs-worker-due {
        text-align: left;
    }
    .hs-worker-accounting-totals {
        grid-template-columns: 1fr;
    }
    .hs-worker-ledger-row {
        grid-template-columns: 1fr auto;
    }
    .hs-worker-ledger-detail {
        grid-column: 1 / -1;
    }
    .hs-print-line-header,
    .hs-print-line {
        grid-template-columns: 1fr 95px 105px;
    }
    .hs-print-summary {
        grid-template-columns: 1fr;
    }
}


/* ========================= V0.8.1 admin worker preview ========================= */

.hs-admin-preview-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #d7d3c9;
    border-radius: 12px;
    background: #faf9f6;
}
.hs-admin-preview-bar > div {
    display: grid;
    gap: 2px;
}
.hs-admin-preview-bar > div strong {
    font-size: 11px;
    letter-spacing: .09em;
}
.hs-admin-preview-bar > div span {
    color: var(--hs-muted);
    font-size: 12px;
}
.hs-admin-preview-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.hs-admin-preview-switcher a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--hs-line);
    border-radius: 999px;
    background: #fff;
    color: #3f3c36;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}
.hs-admin-preview-switcher a.is-active {
    background: var(--hs-dark);
    border-color: var(--hs-dark);
    color: #fff;
}
.hs-preview-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px 13px;
    border-radius: 10px;
    background: #eee8d9;
    color: #735c24;
}
.hs-preview-warning strong {
    font-size: 10px;
    letter-spacing: .08em;
}
.hs-preview-warning span {
    font-size: 12px;
}
.hs-production-app button:disabled,
.hs-production-app input:disabled {
    cursor: not-allowed;
    opacity: .62;
}

@media (max-width: 720px) {
    .hs-admin-preview-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* V0.8.2 — tačne Master slike + parent slika umetka */
[data-hs-insert-preview] {
    margin-top: 10px;
}
.hs-worker-card__image .hs-insert-year-image {
    width: 100%;
    min-height: 230px;
}
