@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');:root{--navy:#0B1D2B;--gold:#C9A15A;--stone:#E9ECEF;--slate:#64748B}body{font-family:Inter,Arial,sans-serif!important;background:#F7F9FB;color:var(--navy)}aside{background:#fff;color:var(--navy);border-right:1px solid #e4e9ef;padding:25px 12px}.brand-image{display:block;margin:2px 10px 35px}.brand-image img{width:148px;max-width:100%;height:auto;display:block}.nav{color:#526579;font-weight:600;font-size:13px;border-radius:9px;margin-bottom:5px}.nav:hover{background:#f4f1eb;color:var(--navy)}.nav.on{background:#f4ecdf;color:#916a34;box-shadow:inset 3px 0 0 var(--gold)}main{padding:33px 34px}.top h1{letter-spacing:-1px;font-weight:800;color:var(--navy)}small{color:#64748B}.btn{background:var(--gold);color:var(--navy);border-radius:8px;font-weight:800}.btn:hover{filter:brightness(1.07)}.btn.alt{background:#eff2f6;color:var(--navy)}.notice{background:#f9f3e9;color:#80602f;border:1px solid #efe0c7}.stat,.panel{border-color:#e3e8ee;box-shadow:0 8px 28px #10243807;border-radius:13px}.stat strong{color:var(--navy)}.chip{border-color:#dfe5eb;border-radius:22px;padding:9px 13px;color:#43546a}.chip.on{background:var(--gold);color:var(--navy);border-color:var(--gold);font-weight:800}th{background:#f9fafc}th button{color:#40556b;font-weight:700}th button:hover{color:#9a7037}.arrow{color:#b58746;font-weight:900;font-size:20px}td a{color:#3a5b78;text-decoration:none;font-weight:600}td a:hover{text-decoration:underline}td,th{border-color:#e9edf2}.tag{background:#f0f2f5;color:#526579}.tag.closed{background:#e0f3e8;color:#236345}.tag.due{background:#fce8e8;color:#a22d32}.tag.pending{background:#fff1d7;color:#8b621f}.finish-btn{background:#f9f1e5;border:1px solid #c9a15a;color:#77521e}.finish-btn:hover{background:#e9d3b2}.action-id{color:#9a7037}.modalback{background:#081827b8}.modal{box-shadow:0 30px 80px #0004}.history{border-color:var(--gold)}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.updateform{background:#f9fafb}@media(max-width:760px){aside{border-right:0;border-bottom:1px solid #e4e9ef;align-items:center}.brand-image{margin:0 12px 0 0}.brand-image img{width:110px}.nav{margin-bottom:0}main{padding:18px}.panel{overflow:auto}}
/* v1.5 — precise wordmark, compact actions, fixed application shell */
.brand-image{height:auto;min-height:74px;margin:0 0 16px;padding:10px 7px 18px;display:flex;align-items:center;justify-content:center;overflow:visible}
.brand-image img{display:block;width:100%;max-width:166px;height:auto;object-fit:contain;object-position:center}
.finish-btn{font-size:11px;line-height:1.1;min-height:26px;max-width:91px;padding:5px 8px;border-radius:6px;white-space:nowrap}
#content td,#content th{padding:9px 8px;height:44px;vertical-align:middle}
#content td:last-child{white-space:nowrap}
#content td .hint{font-size:11px}
.table-viewport{position:relative;min-height:0;min-width:0;height:100%;display:flex;flex-direction:column}
.table-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;scrollbar-gutter:stable}
.table-scroll table{min-width:760px}
.table-scroll thead th{position:sticky;top:0;z-index:2;background:#f9fafc;box-shadow:0 1px 0 #e2e8f0}
.scroll-indicator{pointer-events:none;position:absolute;left:0;right:10px;z-index:5;text-align:center;padding:8px;font-size:11px;font-weight:700;letter-spacing:.2px;color:#77521e;opacity:0;transition:opacity .15s;background:linear-gradient(180deg,#f4e9d4f5,#f4e9d4a8);box-shadow:0 2px 9px #0b1d2b12}
.scroll-indicator.visible{opacity:1}
.scroll-top-indicator{top:0}.scroll-bottom-indicator{bottom:0;background:linear-gradient(0deg,#f4e9d4f5,#f4e9d4a8);box-shadow:0 -2px 9px #0b1d2b12}
@media(min-width:761px){html,body{height:100%;overflow:hidden}.layout{height:100dvh;min-height:0;overflow:hidden;grid-template-columns:210px minmax(0,1fr)}aside{height:100dvh;overflow-y:auto}main{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:24px 30px 20px}.top{flex-shrink:0}.notice{flex-shrink:0;margin:12px 0}.stats{flex-shrink:0;margin:8px 0 10px}.filters{flex-shrink:0;margin:10px 0}.panel{flex:1;min-height:0;overflow:hidden;padding:12px 16px}.panel:has(.my-section){overflow:auto}.my-table-scroll{max-height:calc((100dvh - 390px)/2);min-height:130px}.my-section .table-viewport{height:auto}.my-section .table-scroll{max-height:calc((100dvh - 390px)/2)}}
@media(max-width:760px){.brand-image{min-height:0;margin:0 12px 0 0;padding:2px}.brand-image img{width:108px}.panel{overflow:hidden;padding:10px}.table-viewport{height:min(65dvh,600px)}.my-section .table-viewport{height:250px}.table-scroll table{min-width:760px}}

/* v1.7: unified full-height scrolling, stable columns, no bottom overlay */
@media(min-width:761px){
 .panel:has(.my-section){overflow:hidden;display:flex;flex-direction:column}
 .my-single-view{height:100%;min-height:0;display:flex;flex-direction:column;flex:1}
 .my-single-view .my-section-head{flex:0 0 auto}
 .my-single-view .table-viewport{height:auto;min-height:0;flex:1}
 .my-single-view .table-scroll,.my-table-scroll{height:100%;max-height:none;min-height:0;flex:1;overflow:auto}
}
.table-scroll table{table-layout:fixed;width:100%;min-width:970px}
.table-scroll td,.table-scroll th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-scroll td:nth-child(2) a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal;line-height:1.35;max-height:2.7em}
.table-scroll td:nth-child(2){white-space:normal}
.table-scroll td:nth-last-child(3){white-space:nowrap;font-variant-numeric:tabular-nums}
.table-scroll th{white-space:nowrap}
.table-scroll th button{white-space:nowrap}
.table-scroll .finish-btn{font-size:11px;min-height:26px;max-width:91px;padding:5px 8px}
.scroll-top-indicator{top:43px;left:0;right:10px;padding:3px 8px;height:22px;line-height:16px;background:linear-gradient(180deg,#f5ead7f7,#f5ead7e0);box-shadow:0 2px 6px #0b1d2b0d}
.scroll-bottom-indicator{display:none!important}
@media(max-width:760px){.my-single-view .table-viewport{height:min(62dvh,580px)}.table-scroll table{min-width:970px}}
