/* s4 – Oppgjør / Arbeidstid / Oppgaver (classes prefixed aoe-t4-) */
.aoe-t4{display:flex;flex-direction:column;gap:16px;min-width:0}
.aoe-t4 .sk-terminal-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.aoe-t4-card{padding:18px;display:flex;flex-direction:column;gap:12px;min-width:0}
.aoe-t4 .sk-terminal-cart-lines{margin:0;gap:8px}
.aoe-t4 .sk-terminal-cart-lines>li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;background:#fff;border:1px solid #24242320}
.aoe-t4 .sk-terminal-cart-lines>li>span{display:flex;flex-direction:column;min-width:0}
.aoe-t4 .sk-terminal-cart-lines small{color:#242423a6;font-size:13px}
.aoe-t4 .sk-terminal-cart-lines>li>strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.aoe-t4 .aoe-t4-total{background:#faede8!important;border-color:#82667f!important}
.aoe-t4-tots{margin-top:4px}
/* payment methods */
.aoe-t4 .sk-terminal-cart-lines>li.aoe-t4-method{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center}
.aoe-t4 .sk-terminal-cart-lines>li.aoe-t4-method>span:nth-child(2){display:grid;gap:4px}
.aoe-t4-ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #82667f;background:#faede8;flex:none}
.aoe-t4-bar{display:block;height:6px;background:#24242314;position:relative}
.aoe-t4-bar b{display:block;height:100%;background:#82667f}
/* tiles */
.aoe-t4-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.aoe-t4-tiles>button{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px;text-align:left;background:#faede8;border:1px solid #82667f;color:#242423}
.aoe-t4-tiles>button:disabled{opacity:.45}
.aoe-t4-tiles>button>span{display:flex;flex-direction:column}
.aoe-t4-tiles small{font-size:12.5px;color:#242423a6;line-height:1.25}
/* sales list */
.aoe-t4 .sk-terminal-cart-lines.aoe-t4-sales-list>li{padding:0;display:block}
.aoe-t4-sale{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto 20px;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;text-align:left;background:none;border:0;color:#242423;font:inherit}
.aoe-t4-sale>span{display:flex;flex-direction:column;min-width:0}
.aoe-t4-sale>span small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aoe-t4-sale time{font-variant-numeric:tabular-nums;color:#242423b3}
.aoe-t4-sale>strong{white-space:nowrap}
.aoe-t4-more{align-self:flex-start;min-height:48px}
.aoe-t4-search{display:flex;flex-direction:column;gap:10px;padding:14px;margin-bottom:10px}
/* tabs / chips */
.aoe-t4-tabs{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);max-width:100%;border:1px solid #242423;align-self:flex-start}
.aoe-t4-tabs>button{min-height:48px;padding:0 16px;border:0;background:#fff;color:#242423;font:inherit;border-right:1px solid #24242333}
.aoe-t4-tabs>button:last-child{border-right:0}
.aoe-t4-tabs>button.is-active{background:#242423;color:#fff}
.aoe-t4-maintabs{margin-top:4px}
.aoe-t4-chips{display:flex;flex-wrap:wrap;gap:8px}
.aoe-t4-chips>button{min-height:48px;padding:0 16px;background:#fff;border:1px solid #82667f;color:#242423;font:inherit}
.aoe-t4-chips>button.is-active,.aoe-t4-chips>button[aria-pressed=true]{background:#242423;color:#fff;border-color:#242423}
/* Z history */
.aoe-t4-zlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.aoe-t4-zrow{border:1px solid #24242333;background:#fff}
.aoe-t4-zhead{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;text-align:left;background:none;border:0;color:#242423;font:inherit}
.aoe-t4-zhead>span{display:flex;flex-direction:column}
.aoe-t4-zhead small{color:#242423a6;font-size:13px}
.aoe-t4-zbody{display:flex;flex-direction:column;gap:10px;padding:0 14px 14px}
/* count / exchange */
.aoe-t4-back{align-self:flex-start;min-height:48px;display:inline-flex;align-items:center;gap:8px}
.aoe-t4-cclayout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media (min-width:1000px){.aoe-t4-cclayout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
.aoe-t4-denhead{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.aoe-t4-denhead>button{min-height:48px}
.aoe-t4 .sk-cash-count-group{display:flex;flex-direction:column;gap:8px}
.aoe-t4 .sk-cash-count-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.aoe-t4 .sk-cash-count-rows>li.aoe-t4-den{display:grid;grid-template-columns:52px 84px auto minmax(70px,1fr);align-items:center;gap:10px;padding:8px 12px;border:1px solid #24242333;background:#fff;min-height:60px}
.aoe-t4-den .sk-cash-count-row-sum{text-align:right;font-variant-numeric:tabular-nums;color:#242423b3}
.aoe-t4-art{display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;color:#242423;background:#faede8;border:1px solid #82667f;width:48px;height:34px}
.aoe-t4-art.is-coin{border-radius:50%!important;width:38px;height:38px;margin-inline:5px;background:#e8defa}
.aoe-t4-art.n1000{background:#d9cdea}.aoe-t4-art.n500{background:#f1dcd5}.aoe-t4-art.n200{background:#e4efe0}.aoe-t4-art.n100{background:#e9e0d2}.aoe-t4-art.n50{background:#ece7f6}
.aoe-t4-step{display:inline-flex;align-items:center;gap:6px}
.aoe-t4-step>button{min-width:48px;min-height:48px;padding:0 10px;font-size:20px;line-height:1;background:#fff;border:1px solid #242423;color:#242423}
.aoe-t4-step>button:disabled{opacity:.35}
.aoe-t4-step .aoe-t4-plus{font-size:15px}
.aoe-t4-step>output{min-width:44px;text-align:center;font-size:19px;font-weight:600;font-variant-numeric:tabular-nums}
.aoe-t4-adjust{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.aoe-t4-adjust>div:first-child{display:flex;flex-direction:column;max-width:34ch}
.aoe-t4-adjust small{color:#242423a6;font-size:13px}
.aoe-t4-adjust output{min-width:96px}
.aoe-t4-val{font-size:20px}
.aoe-t4-closebtn{min-height:56px;width:100%;font-size:17px}
.aoe-t4 .sk-cash-count-total{display:flex;justify-content:space-between;align-items:baseline;flex-direction:row;padding-top:6px}
.aoe-t4 .sk-cash-count-total>strong{font-size:26px}
/* sheets */
.aoe-t4-layer{align-items:center;justify-items:center}
.aoe-t4-sheet{width:min(640px,100%);max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border:1px solid #242423;padding:20px 20px 24px;display:flex;flex-direction:column;gap:12px;position:relative}
.aoe-t4-sheet .sk-terminal-back{align-self:flex-start;min-width:48px;min-height:48px}
.aoe-t4-sheet h2{margin:0}
.aoe-t4-sheet .sk-terminal-cart-lines{margin:0;display:grid;gap:8px}
.aoe-t4-sheet .sk-terminal-cart-lines>li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;border:1px solid #24242320}
.aoe-t4-sheet .sk-terminal-cart-lines>li>span{display:flex;flex-direction:column}
.aoe-t4-sheet small{color:#242423a6;font-size:13px}
.aoe-t4-sheet .aoe-t4-total{background:#faede8;border-color:#82667f}
.aoe-t4-actions{display:flex;flex-wrap:wrap;gap:8px}
.aoe-t4-actions>button{min-height:48px}
.aoe-t4-adjust-note{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid #b4412f;background:#fbeae6;color:#8a2a1c}
.aoe-t4-ret{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #82667f}
.aoe-t4-refund{display:flex;flex-direction:column;gap:8px}
.aoe-t4-amount{display:flex;justify-content:space-between;align-items:baseline;padding:10px 14px;border:1px solid #242423}
.aoe-t4-amount strong{font-size:30px;font-variant-numeric:tabular-nums}
.aoe-t4-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.aoe-t4-key{min-height:56px;font-size:22px}
/* workhours */
.aoe-t4-daystatus{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.aoe-t4-ds-item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;background:#fff;border:1px solid #24242333;min-width:0}
.aoe-t4-ds-item>span{color:#242423a6;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.aoe-t4-ds-item>strong{font-size:20px}
.aoe-t4-ds-item.is-clock{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.aoe-t4-ds-item.is-clock>span{font-size:16px;color:#242423}
.aoe-t4-ds-btns{display:flex;gap:8px;flex-wrap:wrap}
.aoe-t4-ds-btns>button{min-height:48px;min-width:140px}
.aoe-t4-ds-item.is-timer{border-color:#82667f}
.aoe-t4-ds-item.is-running .aoe-t4-timer::after{content:"";display:inline-block;width:9px;height:9px;margin-left:8px;background:#2f8f4e;border-radius:50%}
.aoe-t4-timer{font-size:30px!important;font-variant-numeric:tabular-nums}
.aoe-t4-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.aoe-t4-toolbar>div{flex:1;text-align:center}
.aoe-t4-toolbar>strong{flex:1;text-align:center}
.aoe-t4-toolbar>button,.aoe-t4-toolbar2 button.sk-terminal-icon-button{min-width:48px;min-height:48px;background:#fff;border:1px solid #242423;display:inline-flex;align-items:center;justify-content:center}
.aoe-t4-toolbar2{display:flex;flex-direction:column;gap:10px;margin:8px 0}
.aoe-t4-days{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.aoe-t4-day{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;background:#fff;border:1px solid #24242333}
.aoe-t4-day.is-today{border-color:#82667f;border-width:2px}
.aoe-t4-dow{display:flex;flex-direction:column}.aoe-t4-dow strong{text-transform:uppercase}.aoe-t4-dow small{color:#242423a6}
.aoe-t4-day .sk-timesheet-day-summary{display:flex;flex-direction:column;min-width:0}
.aoe-t4-day .sk-timesheet-day-summary small{color:#242423a6}
.aoe-t4-day .sk-timesheet-day-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.aoe-t4-day button{min-height:48px}
@media (max-width:820px){.aoe-t4-day{grid-template-columns:56px minmax(0,1fr)}.aoe-t4-day .sk-timesheet-day-actions{grid-column:1/-1;justify-content:flex-start}}
.aoe-t4-editor{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1px solid #24242320}
.aoe-t4-sec{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.aoe-t4 .sk-timesheet-absence-form{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid #82667f;background:#fff}
.aoe-t4-weekgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.aoe-t4-wd{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;min-height:140px;background:#fff;border:1px solid #24242333;color:#242423;font:inherit}
.aoe-t4-wd.is-today{border:2px solid #82667f}
.aoe-t4-wd.is-closed{background:#24242309;color:#242423a6}
.aoe-t4-wd-h{display:flex;flex-direction:column;align-items:center}.aoe-t4-wd-h strong{text-transform:uppercase}
.aoe-t4-wd-mine{background:#82667f;color:#fff;padding:8px 6px;font-size:13px;line-height:1.3;text-align:center;font-variant-numeric:tabular-nums}
.aoe-t4-wd-off{color:#242423a6;padding:18px 0}
.aoe-t4-wd small{font-size:12px;color:#242423a6;text-align:center}
.aoe-t4-gantt{display:flex;flex-direction:column;gap:8px}
.aoe-t4-gscale{position:relative;height:20px;margin-left:150px;font-size:12px;color:#242423a6}
.aoe-t4-gscale span{position:absolute;transform:translateX(-30%)}
.aoe-t4-grow{display:grid;grid-template-columns:142px minmax(0,1fr);gap:8px;align-items:center;min-height:52px}
.aoe-t4-gname{display:flex;align-items:center;gap:8px;min-width:0}
.aoe-t4-gname>span:last-child{display:flex;flex-direction:column;min-width:0}
.aoe-t4-gname strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aoe-t4-gname small{font-size:11.5px;color:#242423a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aoe-t4-gname .sk-terminal-avatar{width:30px;height:30px;flex:none;overflow:hidden}
.aoe-t4-gtrack{position:relative;height:36px;background:#24242308;border:1px solid #24242320}
.aoe-t4-gbar{position:absolute;top:2px;bottom:2px;background:#e8defa;border:1px solid #82667f;font-style:normal;font-size:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap}
.aoe-t4-grow.is-mine .aoe-t4-gbar{background:#82667f;color:#fff}
.aoe-t4 .sk-terminal-cart-lines>li.is-mine{border-color:#82667f;background:#faede8}
/* tasks */
.aoe-t4-nora{background:#fff}
.aoe-t4-norahead{display:flex;gap:12px;align-items:flex-start}
.aoe-t4-norahead h2{margin:0 0 4px}.aoe-t4-norahead p{margin:0}
.aoe-t4-answer{margin:0;padding:12px 14px;background:#faede8;border:1px solid #82667f;line-height:1.45}
.aoe-t4 .sk-terminal-cart-lines>li.aoe-t4-payitem{align-items:flex-start}
.aoe-t4-payitem>span{flex:1}
.aoe-t4-payitem button{min-height:48px;flex:none}
.aoe-t4 .sk-nora-tasks__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:1000px){.aoe-t4 .sk-nora-tasks__layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
.aoe-t4-task{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:14px;background:#fff;border:1px solid #24242333;border-left:3px solid #82667f;margin-bottom:8px}
.aoe-t4-task.is-complaint{border-left-color:#b4412f}.aoe-t4-task.is-waitlist{border-left-color:#c98a1b}
.aoe-t4-task .sk-nora-task__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.aoe-t4-task h3{margin:0;font-size:18px}
.aoe-t4-task p{margin:0}
.aoe-t4-task .sk-nora-task__meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#242423a6;font-size:13px}
.aoe-t4-task .sk-nora-kind{font-weight:600;color:#242423;text-transform:uppercase;font-size:12px;letter-spacing:.04em}
.aoe-t4-task .sk-nora-task__phone{color:#242423a6;font-variant-numeric:tabular-nums}
.aoe-t4-task .sk-nora-task__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.aoe-t4-task .sk-nora-task__actions>button{min-height:48px;display:inline-flex;align-items:center;gap:6px}
.aoe-t4 .sk-nora-call-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.aoe-t4-call{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:56px;padding:8px 12px;text-align:left;background:#fff;border:1px solid #24242333;color:#242423;font:inherit}
.aoe-t4-call .sk-nora-call-log__body{display:flex;flex-direction:column;min-width:0}
.aoe-t4-call small{color:#242423a6;font-size:13px}
.aoe-t4 .sk-nora-side-card{display:flex;flex-direction:column;gap:10px;padding:16px;background:#fff;border:1px solid #24242333}
.aoe-t4 .sk-nora-side-card h2,.aoe-t4 .sk-nora-side-card p{margin:0}
.aoe-t4-step-li{gap:10px}
.aoe-t4-step-li>span:first-child{flex-direction:row!important;align-items:center;gap:10px}
.aoe-t4-step-li>span:first-child>span{display:flex;flex-direction:column}
.aoe-t4-step-li.is-done{opacity:.7}
.aoe-t4-step-li button{min-height:48px;flex:none}
.aoe-t4-routine h3{margin:10px 0 6px}
.aoe-t4-donebox{margin-top:10px}.aoe-t4-donebox summary{min-height:48px;display:flex;align-items:center;cursor:pointer}
.aoe-t4 .sk-nora-work-queue{display:flex;flex-direction:column;gap:10px;min-width:0}
.aoe-t4 .sk-nora-tasks__sidebar{min-width:0}

.aoe-t4-layer>.aoe-t4-sheet{height:auto;min-height:0;align-self:center;justify-self:center;width:min(640px,100%);max-height:calc(100vh - 32px)}
.aoe-t4-layer{display:flex!important;justify-content:center!important;align-items:center!important;padding:16px!important}
.aoe-t4-layer>.aoe-t4-sheet{flex:0 1 640px;margin:0!important}
.aoe-t4 .sk-terminal-cart-lines>li>button.sk-terminal-primary,.aoe-t4 .sk-terminal-cart-lines>li>button.sk-terminal-secondary,.aoe-t4 .sk-terminal-cart-lines>li>button.sk-terminal-link{width:auto;flex:none}
.aoe-t4 .sk-terminal-cart-lines>li>span{flex:1 1 0;min-width:0}
.aoe-t4-daystatus{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:560px){.aoe-t4-daystatus{grid-template-columns:repeat(2,minmax(0,1fr))}}
.aoe-t4-gscale span:last-child{transform:translateX(-100%)}
.aoe-t4 .aoe-t4-daystatus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:560px){.aoe-t4 .aoe-t4-daystatus{grid-template-columns:repeat(2,minmax(0,1fr))}}
.aoe-t4 .aoe-t4-day{height:auto;min-height:0;overflow:visible}
.aoe-t4 .aoe-t4-days{display:flex;flex-direction:column;height:auto;max-height:none;overflow:visible}
.aoe-t4 .sk-nora-work-queue{padding:4px 0}
.aoe-t4-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.aoe-t4-sheet .sk-terminal-eyebrow{margin:0!important;padding:0!important;text-indent:0!important;align-self:flex-start}
