        body { background: var(--bg, #f8fafc); font-family: 'DM Sans', sans-serif; margin: 0; }

        .tool-nav {
            display: flex; align-items: center; justify-content: space-between;
            padding: .75rem 1.5rem; background: var(--surface, #fff);
            border-bottom: 1px solid var(--border, #e2e8f0);
            position: sticky; top: 0; z-index: 100;
        }
        .tool-brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
        .brand-icon { background: var(--accent, #4f6ef7); color: #fff; font-weight: 700; font-size: .8rem; width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
        .brand-name { font-weight: 600; font-size: .95rem; color: var(--text-primary, #0f172a); }
        .tool-nav-actions { display: flex; gap: .5rem; align-items: center; }

        .tool-hero { max-width: 900px; margin: 0 auto; padding: 2rem 1rem 1rem; }
        .tool-hero h1 { font-size: 1.5rem; font-weight: 700; color: var(--text-primary, #0f172a); margin: 0 0 .3rem; }
        .tool-hero p { color: var(--text-secondary, #64748b); font-size: .9rem; margin: 0 0 1.5rem; }

        .tool-wrap { max-width: 900px; margin: 0 auto; padding: 0 1rem 3rem; }

        .staff-bar { display: flex; gap: .5rem; margin-bottom: 1rem; align-items: center; }
        .staff-bar input { flex: 1; padding: .5rem .75rem; border: 1px solid var(--border, #e2e8f0); border-radius: 8px; font-size: .88rem; font-family: inherit; background: var(--surface, #fff); color: var(--text-primary, #0f172a); }
        .staff-bar input:focus { outline: 2px solid var(--accent, #4f6ef7); border-color: transparent; }

        .sched-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border, #e2e8f0); background: var(--surface, #fff); }
        .sched-grid { display: grid; grid-template-columns: 130px repeat(7, 1fr); min-width: 640px; }

        .sched-cell { padding: .45rem .5rem; border-top: 1px solid var(--border, #e2e8f0); border-right: 1px solid var(--border, #e2e8f0); font-size: .8rem; min-height: 44px; }
        .sched-cell:nth-child(8n) { border-right: none; }
        .sched-header { padding: .45rem .5rem; font-size: .72rem; font-weight: 600; color: var(--text-secondary, #64748b); background: var(--surface-2, #f8fafc); text-transform: uppercase; letter-spacing: .03em; border-right: 1px solid var(--border, #e2e8f0); text-align: center; }
        .sched-header:last-child { border-right: none; }
        .sched-header.today { background: var(--accent-light, #eff6ff); color: var(--accent, #4f6ef7); }
        .sched-name-cell { font-size: .82rem; font-weight: 500; color: var(--text-primary, #0f172a); display: flex; align-items: center; justify-content: space-between; padding: .45rem .65rem; border-top: 1px solid var(--border, #e2e8f0); border-right: 1px solid var(--border, #e2e8f0); }
        .sched-name-cell button { background: none; border: none; cursor: pointer; color: var(--text-muted, #94a3b8); font-size: .8rem; padding: 0 2px; line-height: 1; }
        .sched-name-cell button:hover { color: var(--danger, #ef4444); }

        .shift-input { width: 100%; border: none; background: transparent; font-size: .8rem; font-family: inherit; color: var(--text-primary, #0f172a); resize: none; outline: none; padding: 0; cursor: pointer; }
        .shift-input:focus { background: var(--accent-light, #eff6ff); border-radius: 5px; padding: 2px 4px; cursor: text; }
        .shift-input::placeholder { color: var(--text-muted, #94a3b8); font-size: .75rem; }

        .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
        .chip { padding: .25rem .65rem; background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 99px; font-size: .76rem; cursor: pointer; color: var(--text-secondary, #64748b); transition: all .12s; }
        .chip:hover { border-color: var(--accent, #4f6ef7); color: var(--accent, #4f6ef7); background: var(--accent-light, #eff6ff); }

        .section-label { font-size: .8rem; font-weight: 600; color: var(--text-secondary, #64748b); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em; }

        .save-banner { background: linear-gradient(135deg, #4f6ef7, #6c8fff); border-radius: 12px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
        .save-banner-text h3 { margin: 0 0 .2rem; color: #fff; font-size: 1rem; font-weight: 600; }
        .save-banner-text p { margin: 0; color: rgba(255,255,255,.85); font-size: .84rem; }
        .save-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

        .btn { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-radius: 8px; font-size: .85rem; font-weight: 500; cursor: pointer; border: none; transition: all .15s; font-family: inherit; text-decoration: none; }
        .btn svg { width: 15px; height: 15px; flex-shrink: 0; }
        .btn-primary { background: var(--accent, #4f6ef7); color: #fff; }
        .btn-primary:hover { background: #3b5ce4; }
        .btn-white { background: #fff; color: var(--accent, #4f6ef7); }
        .btn-white:hover { background: #f0f4ff; }
        .btn-ghost { background: transparent; color: var(--text-secondary, #64748b); border: 1px solid var(--border, #e2e8f0); }
        .btn-ghost:hover { background: var(--surface-2, #f8fafc); }
        .btn-sm { padding: .35rem .75rem; font-size: .8rem; }

        .empty-staff { text-align: center; padding: 2rem; color: var(--text-muted, #94a3b8); font-size: .88rem; border: 2px dashed var(--border, #e2e8f0); border-radius: 10px; }

        /* SEO content section */
        .seo-section { max-width: 900px; margin: 0 auto; padding: 2.5rem 1rem 3rem; border-top: 1px solid var(--border, #e2e8f0); }
        .seo-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary, #0f172a); margin: 0 0 .5rem; }
        .seo-section p { font-size: .88rem; color: var(--text-secondary, #64748b); line-height: 1.65; margin: 0 0 1.5rem; }
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
        .feature-item { display: flex; gap: .75rem; align-items: flex-start; }
        .feature-item-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-light, #eff6ff); color: var(--accent, #4f6ef7); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .feature-item-icon svg { width: 16px; height: 16px; }
        .feature-item-body h3 { font-size: .84rem; font-weight: 600; color: var(--text-primary, #0f172a); margin: 0 0 .2rem; }
        .feature-item-body p { font-size: .8rem; color: var(--text-secondary, #64748b); margin: 0; line-height: 1.5; }
        .faq-list { display: flex; flex-direction: column; gap: .75rem; }
        .faq-item { padding: 1rem; background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 10px; }
        .faq-item h3 { font-size: .88rem; font-weight: 600; color: var(--text-primary, #0f172a); margin: 0 0 .35rem; }
        .faq-item p { font-size: .82rem; color: var(--text-secondary, #64748b); margin: 0; line-height: 1.55; }

        @media print {
            .tool-nav, .staff-bar, .chips, .save-banner, .section-label, .sched-name-cell button, .seo-section { display: none !important; }
            body { background: #fff; }
        }
        @media (max-width: 600px) {
            .tool-hero h1 { font-size: 1.2rem; }
            .save-banner { flex-direction: column; }
        }
.week-toolbar{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap;}
.week-label{font-size:.88rem;font-weight:600;color:var(--text-primary);min-width:180px;text-align:center;}
.week-today-btn{margin-left:auto;}
.chip--add{border-style:dashed;}
.empty-staff--hidden{display:none;}
