/* Shared finishing layer: predictable spacing across desktop and phone. */
.level-panel .level-description{white-space:pre-line;line-height:1.9;word-break:keep-all;overflow-wrap:anywhere;padding:0 20px 20px;margin:0}
.feedback-single-column #assessment-panels{display:grid;gap:14px;margin-top:18px}
.feedback-single-column .level-panel-wrap{margin:0;min-width:0}
.feedback-single-column .level-panel{margin:0}
.feedback-single-column .editor-actions{position:relative;bottom:auto;background:transparent;backdrop-filter:none;border:0;margin:20px 0 0;padding:0 4px;gap:12px 20px;flex-wrap:wrap}
.feedback-single-column .editor-actions>div{gap:8px;min-width:0}
.feedback-single-column .editor-actions>div:last-child{margin-left:auto}
.notes-card label{line-height:1.65}
.feedback-context .context-block p{white-space:pre-line;line-height:1.85;overflow-wrap:anywhere}
.nav-icon{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px}
.nav-icon svg{display:block;width:21px;height:21px}
.side-nav>button{min-height:46px}
.card-head>h3,.card-head>h2{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px}
.form-grid{column-gap:16px;row-gap:18px}
.form-grid>label{line-height:1.6}
.notice-row-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.notice-row-action>small{margin:0;line-height:1.5;text-align:center;white-space:normal}
.notice-footer{flex-wrap:wrap}
.notice-customer-contacts{min-width:0}
.notice-actions{margin-left:auto}
.report-toolbar{flex-wrap:wrap;align-items:center;row-gap:12px}
.report-toolbar>.row{flex-wrap:wrap}
@media(max-width:700px){
 .feedback-single-column #assessment-panels{gap:12px;margin-top:14px}
 .level-panel .level-description{padding:0 14px 17px;font-size:14px;line-height:1.9}
 .level-panel-wrap .level-panel>summary{grid-template-columns:minmax(0,1fr) auto 18px;gap:9px;padding:17px 14px}
 .level-panel-wrap .level-heading{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;align-items:baseline}
 .level-panel-wrap .level-heading .level-badge{font-size:10px}
 .level-panel-wrap .level-heading b{font-size:14px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
 .level-panel-wrap .level-heading .level-omit{grid-column:2;margin:0;justify-self:start;min-height:27px;gap:7px}
 .feedback-single-column .assessment-row{grid-template-columns:minmax(0,1fr) 108px;gap:10px;padding:17px 14px;align-items:center}
 .feedback-single-column .rating-options{gap:3px;align-items:center}
 .feedback-single-column .rating-button{width:34px;min-width:34px;flex-basis:34px;height:42px;padding:0;display:grid;place-items:center}
 .feedback-single-column .rating-button .symbol{margin:0}
 .feedback-single-column .editor-actions{margin-top:16px;padding:0 2px;gap:12px}
 .feedback-single-column .editor-actions>div{width:100%;display:flex;align-items:center}
 .feedback-single-column .editor-actions>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin:0}
 .feedback-single-column .editor-actions .btn{min-height:44px;padding:10px;font-size:13px}
 .notes-card .closing-tools{gap:8px;flex-wrap:wrap}
 .notes-card .skip-area{padding:14px;line-height:1.75}
 .skip-area>label{display:flex;gap:9px;align-items:flex-start;font-weight:400}
 .skip-area>label>input{flex:0 0 17px;margin-top:4px}
 .notice-list-row{align-items:center;gap:10px}
 .notice-row-action{align-self:center;max-width:106px}
 .notice-row-action>small{font-size:10px}
 .notice-footer{gap:16px}
 .notice-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}
 .notice-actions>.btn{flex:1 1 auto}
 .report-toolbar>.row{display:flex;width:100%;gap:8px}
 .report-toolbar>.row>.btn{flex:1 1 42%;min-height:42px}
 .page-title{align-items:center}
 .page-title h1{word-break:keep-all}
 dialog{max-width:calc(100vw - 24px);padding:22px 18px;max-height:calc(100dvh - 32px)}
 .modal-actions{gap:8px}
 .modal-actions .btn{min-height:44px}
}

@media(max-width:700px){.content>.page-title{gap:8px}.content>.page-title>div:first-child{flex:1 1 auto;min-width:0}.content>.page-title>.btn{margin-left:0}.content>.page-title>.btn+.btn{margin-left:0}.level-choice select,#feedback-student{padding-right:38px}.feedback-context .context-block{min-width:0}}


/* Season and personal menu configuration. */
.sidebar>.season-picker{position:relative;padding:18px 0 22px;flex-shrink:0}
.season-picker select{width:100%;appearance:none;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--ink);font-size:12px;letter-spacing:.025em;line-height:1.5;padding:12px 31px 12px 12px;min-height:44px;cursor:pointer;margin:0}
.season-picker>svg{width:17px;height:17px;position:absolute;right:11px;top:32px;pointer-events:none;color:var(--muted)}
.sidebar>.menu-edit-trigger{display:block;flex:none;align-self:center;padding:8px 14px;margin:7px 0 1px;font-size:11px;color:var(--muted);border-radius:8px;line-height:1.5}
.menu-edit-trigger:hover{background:var(--blue);color:var(--ink)}
.side-nav>.nav-custom-heading{font-size:11px;color:var(--muted);padding:6px 12px 8px;line-height:1.5;overflow-wrap:anywhere}
.side-nav>.nav-custom-divider{height:1px;background:var(--line);margin:15px 0 9px;flex-shrink:0}
.menu-editor-note{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 18px}
.menu-layout-list{display:grid;gap:8px}
.menu-layout-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;min-height:54px;background:var(--paper)}
.menu-layout-content{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.menu-layout-content b{font-size:14px;font-weight:500;line-height:1.6}
.menu-layout-content input{min-height:36px!important;height:36px!important;padding:6px 9px!important;font-size:13px}
.menu-link-symbol{display:grid;place-items:center;width:20px;height:20px;flex:none;color:var(--muted)}
.menu-link-symbol svg{width:20px;height:20px}
.menu-layout-controls{display:flex;align-items:center;gap:5px;flex:none}
.menu-order-control{display:grid;place-items:center;width:32px;height:34px;border-radius:7px;border:1px solid var(--line);background:transparent;color:var(--ink)}
.menu-order-control svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.menu-order-control span{font-size:22px;line-height:1}
.menu-divider-preview{display:flex;align-items:center;gap:8px;width:100%;color:var(--muted);font-size:11px}.menu-divider-preview i{height:1px;flex:1;background:var(--line)}
.menu-editor-add{display:flex;gap:9px;margin-top:15px}
.menu-editor-footer{justify-content:space-between;align-items:center;gap:12px}.menu-editor-footer>div{display:flex;gap:8px}.menu-editor-footer>.text-btn{font-size:12px;color:var(--muted)}
.season-archive-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;padding:12px 16px;border:1px solid var(--line);background:var(--blue);border-radius:10px;font-size:13px}.season-archive-note span{font-size:12px;color:var(--muted)}
@media(max-width:700px){.menu-layout-row{gap:8px;padding:8px}.menu-layout-content{gap:8px}.menu-order-control{width:30px;min-height:34px}.menu-layout-controls{gap:4px}.menu-layout-content b{font-size:13px}.menu-editor-footer{flex-wrap:wrap}.menu-editor-footer>div{margin-left:auto}.season-archive-note{align-items:flex-start;flex-direction:column;gap:4px}}

dialog:has(.menu-layout-list){display:flex;flex-direction:column;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:hidden}
dialog:has(.menu-layout-list):not([open]){display:none}
dialog:has(.menu-layout-list)>.modal-title,dialog:has(.menu-layout-list)>.menu-editor-note,dialog:has(.menu-layout-list)>.menu-editor-add,dialog:has(.menu-layout-list)>.menu-editor-footer{flex-shrink:0}
dialog:has(.menu-layout-list)>.menu-layout-list{min-height:0;overflow-y:auto;padding-right:4px;overscroll-behavior:contain}
dialog:has(.menu-layout-list)>.menu-editor-footer{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
@media(max-width:700px){dialog:has(.menu-layout-list){max-height:calc(100dvh - 28px);padding:20px 14px}dialog:has(.menu-layout-list)>.modal-title{margin-bottom:12px}.menu-editor-note{font-size:12px;margin-bottom:12px}.menu-layout-content input{font-size:16px!important}.menu-layout-row{min-height:52px}.menu-editor-add .btn{min-height:40px;padding:8px 12px}}
