:root{--ink:#192e25;--green:#214f3d;--deep:#142f24;--paper:#f6f7f2;--line:#dce4dc;--muted:#52665b}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.55 system-ui,sans-serif}
a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #4b8a69;outline-offset:3px}
.layout{min-height:100vh;display:grid;grid-template-columns:255px minmax(0,1fr)}
aside{display:flex;flex-direction:column;gap:36px;background:var(--deep);padding:27px 19px;color:#f4f7ed}
.identity{display:flex;align-items:center;gap:10px;text-decoration:none;padding:2px 8px}.identity b{font:1.34rem Georgia,serif}.identity span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #94b39f;border-radius:50%;color:#c8e4cb;flex:none}
nav,.aside-end{display:grid;gap:5px}nav a,.aside-end a{padding:10px 12px;border-radius:6px;text-decoration:none;font-size:.91rem}nav a:hover,.aside-end a:hover,nav [aria-current]{background:#304c3e}nav [aria-current]{box-shadow:inset 3px 0 #add4b6}.aside-end{margin-top:auto}
.top{min-height:68px;padding:12px clamp(18px,5vw,62px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);background:#fff;font-size:.9rem}
.workspace{max-width:1100px;margin-inline:auto;padding:clamp(22px,5vw,56px)}h1,h2,p{margin:0}h1{font:clamp(2rem,4.9vw,3rem)/1.08 Georgia,serif;margin-bottom:20px}h2{font:1.55rem/1.25 Georgia,serif;margin-bottom:9px}
.intro{color:var(--muted);margin-bottom:14px}.tiles,.fields{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.tiles a,.box{border:1px solid var(--line);background:#fff;border-radius:10px;padding:20px}.tiles a{display:grid;gap:6px;text-decoration:none}.tiles a:hover{border-color:#609474}.tiles b{font-weight:650}.tiles span,.record span{color:var(--muted);font-size:.88rem}
.stack{display:grid;gap:17px}.box>fieldset{border:0;padding:0;margin:18px 0 0}.box>fieldset legend{font-weight:650;margin-bottom:5px}
label{display:grid;gap:5px;font-size:.92rem;font-weight:600}input:not([type=checkbox]),textarea,select{min-width:0;width:100%;font:inherit;color:var(--ink);border:1px solid #c7d3ca;border-radius:6px;background:#fff;padding:9px 11px}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--green)}
.actions,.record,.section-head,.section-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.record,.section-head,.section-row{justify-content:space-between}.record,.section-row{padding-block:10px;border-bottom:1px solid var(--line)}.record:last-child{border-bottom:0}.record select{width:auto}.section-row label,.check{display:flex;align-items:center;gap:7px}.section-row input[type=number]{width:77px}.section-row:last-of-type{margin-bottom:14px}.section-head h1{margin-bottom:0}.section-head{margin-bottom:20px}
button,.primary{display:inline-flex;align-items:center;padding:8px 13px;min-height:42px;border:1px solid #bfcfc4;border-radius:6px;background:#fff;color:var(--ink);font:600 .9rem/1.3 system-ui,sans-serif;text-decoration:none;cursor:pointer}button:hover{background:#edf2eb}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#2e684f}.danger{color:#873e31}.notice{background:#e2eee2;border:1px solid #bed7c0;border-radius:6px;padding:9px 14px;margin-bottom:14px}.return{display:inline-block;margin-bottom:12px}.thumb img{border-radius:6px;max-width:120px;height:auto}
@media(max-width:720px){.layout{grid-template-columns:1fr}aside{gap:12px;padding:16px}nav,.aside-end{display:flex;flex-wrap:wrap}nav a,.aside-end a{padding:8px;min-height:40px}.aside-end{margin-top:0}.top{min-height:52px}.box{padding:15px}}
.slider-admin h3{font:1.2rem Georgia,serif;margin:16px 0 10px}.slider-admin .section-head{padding:0;border:0}.slider-admin .section-head .intro{margin-bottom:0}.slider-switches{display:flex;flex-wrap:wrap;gap:10px 22px;margin-block:17px}.slider-saved{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:9px;list-style:none;margin:0;padding:0}.slider-saved a{height:100%;display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-size:.86rem}.slider-saved a:hover{background:var(--paper)}.slider-saved img{flex:none;width:42px;height:38px;border-radius:4px;object-fit:cover}.slider-slot-note{margin-top:10px}

.panel-count {
    display: inline-grid;
    min-width: 1.4rem;
    place-items: center;
    margin-inline-start: .25rem;
    padding-inline: .25rem;
    border-radius: 20px;
    color: var(--deep);
    background: #c8e4cb;
    font-size: .75rem;
}

.home-layout [hidden] { display: none !important; }
.home-layout button:disabled { cursor: default; opacity: .45; }
.home-layout__controls { display: grid; gap: 14px; }
.home-layout__toolbar, .home-layout__tools { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.home-layout__instruction { margin: 0; font-size: .9rem; }

.home-layout__switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #e8ede5;
}

.home-layout__switch button { border-color: transparent; border-radius: 8px; background: transparent; }
.home-layout__switch button[aria-pressed="true"] { background: var(--green); color: white; }
.home-layout__switch button:hover[aria-pressed="false"] { background: #f9fbf7; }
.home-layout__override { padding-block: 8px; }

.home-layout__map {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: clamp(10px, 2vw, 20px);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #e9eee6;
}

.home-layout__anchor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #cad8cb;
    border-radius: 10px;
    background: #f6f8f4;
    font-size: .9rem;
}

.home-layout__anchor span { color: var(--muted); font-size: .78rem; }
.home-layout__columns { display: grid; gap: 9px; grid-template-columns: minmax(0, 1fr); }
.home-layout__columns--mobile { width: min(100%, 390px); margin-inline: auto; }
.home-layout__lane { min-width: 0; padding: 10px; border: 1px solid #cfdbcf; border-radius: 10px; background: #f3f6f1; }
.home-layout__lane h2 { margin: 2px 3px 8px; color: var(--muted); font: 650 .88rem/1.35 system-ui, sans-serif; }
.home-layout__lane ol { display: grid; align-content: start; gap: 7px; min-height: 68px; margin: 0; padding: 2px; border-radius: 7px; list-style: none; }
.home-layout__lane ol[data-layout-drop-active] { outline: 2px dashed #619171; outline-offset: 2px; }
.home-layout__empty { margin: 0; padding: 16px 7px; text-align: center; font-size: .85rem; color: var(--muted); }

.home-layout__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.home-layout__item--selected { border-color: #71a186; box-shadow: 0 0 0 1px #71a186; }
.home-layout__item--hidden { background: #f4f5f2; }
.home-layout__item-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .87rem; overflow-wrap: anywhere; }
.home-layout__item-name small { display: block; margin-top: 2px; color: var(--muted); }
.home-layout__grip { color: var(--muted); cursor: grab; font-size: 1.25rem; }
.home-layout__item-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.home-layout__item-actions button { min-height: 36px; padding: 6px 9px; font-size: .78rem; }
.home-layout__item-actions button[aria-expanded="true"] { color: var(--green); background: #e8f2e8; }
.home-layout__tools .actions { align-items: end; }
.home-layout__settings h2 { margin-bottom: 0; }
.home-layout__settings [type="number"] { max-width: 8rem; }
.home-layout__general summary { cursor: pointer; font-weight: 650; }
.home-layout__general[open] summary { margin-bottom: .75rem; }
.home-layout__general label, .home-layout__general p { margin-top: .75rem; }

.home-layout__save {
    position: sticky;
    z-index: 2;
    bottom: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.home-layout__phone .section-head { margin-bottom: 12px; }
.home-layout__phone iframe { display: block; margin-inline: auto; max-width: 100%; height: min(72vh, 720px); border: 1px solid #9db1a0; border-radius: 12px; background: #fff; }
.home-layout__visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 880px) {
    .home-layout__columns:not(.home-layout__columns--mobile) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

@media (pointer: coarse) {
    .home-layout__item-actions button { min-height: 44px; }
}

.panel-editor-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--green);
    background: var(--paper);
    font-size: .84rem;
    font-weight: 650;
}
.box > .panel-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
    margin: 0;
}
.panel-categories label {
    min-height: 32px;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 500;
}
.panel-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.panel-list-filters a {
    border: 1px solid var(--line);
    background: white;
}
.panel-list-filters a:hover,
.panel-list-filters a[aria-current] {
    background: #e2eee2;
}

.panel-writer-permissions {
    padding: 10px 0 15px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}
.panel-writer-permissions fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin: 0;
    border: 0;
    padding: 0 4px 4px 0;
}
.panel-writer-permissions legend {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .84rem;
}

@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;src:url(../../themes/iyi-yon-akademi/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;src:url(../../themes/iyi-yon-akademi/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+FEFF,U+FFFD}
body.iya-panel{font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.iya-panel h1,.iya-panel h2,.iya-panel .identity b{font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-weight:600;letter-spacing:-.02em}
.nav-group{margin:14px 12px 4px;color:#9fbca8;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
aside nav{gap:2px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:22px 0;padding:0;list-style:none}
.stats a{display:grid;gap:4px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;text-decoration:none}
.stats a:hover{border-color:#609474}.stats b{font:600 2rem/1 "Plus Jakarta Sans",system-ui,sans-serif;color:var(--green)}.stats span{color:var(--muted);font-size:.86rem}
.checklist{margin-bottom:22px;border-color:#e8c9b8;background:#fdf6f1}.checklist ul{margin:8px 0 0;padding-left:18px;display:grid;gap:6px}.checklist a{color:var(--ink)}
.panel-search{display:flex;gap:8px;margin-bottom:14px;max-width:520px}.panel-search input{flex:1}
.record{justify-content:flex-start}.record>a{flex:1;min-width:12rem}
.record__thumb{flex:none;width:48px;height:48px;border-radius:8px;object-fit:cover;background:#e6ede5}

.team-login {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: radial-gradient(ellipse at top left, #e2ece0, transparent 62%), var(--paper);
}
.team-login__card {
    width: min(100%, 420px);
    padding: clamp(24px, 5vw, 40px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 48px #203f2f12;
}
.team-login__brand { width: fit-content; margin-bottom: 32px; padding: 0; color: var(--green); }
.team-login__brand span { color: var(--green); background: #e9f1e6; }
.team-login__card h1 { margin-bottom: 24px; font-size: clamp(2rem, 5vw, 2.6rem); }
.team-login__card .primary { justify-content: center; min-height: 46px; border-radius: 24px; }
.team-login__error { color: #843b2a; }
.team-login__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--muted); font-size: .9rem; }
