:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.45;font-weight:400;--bg: #f6f7f8;--surface: #ffffff;--surface-raised: #ffffff;--ink: #111827;--muted: #667085;--muted-strong: #475467;--line: #d9dee5;--line-soft: #ebedf0;--accent: #0f6b5f;--accent-pressed: #0a584e;--accent-soft: #e5f4f1;--accent-ink: #07584f;--danger: #b4233a;--danger-soft: #fff1f3;--warning: #875400;--warning-bg: #fff7e6;--error: #a61b37;--error-bg: #fff1f3;--success: #067647;--success-bg: #ecfdf3;--info: #175cd3;--info-bg: #eff8ff;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 8px;--radius-pill: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--field-height: 48px;--topbar-height: 62px;--tabbar-height: 66px;--icon-size: 1rem;--icon-gap: .5rem;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);--shadow-md: 0 10px 24px rgba(16, 24, 40, .08)}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit;font-size:16px}button{cursor:pointer}textarea{resize:vertical}#app{min-height:100vh}.app-shell{width:min(100%,920px);min-height:100vh;margin:0 auto;background:var(--bg)}.app-shell.has-bottom-tabs{padding-bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom) + 16px)}.app-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:calc(var(--topbar-height) + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) var(--space-4) 10px;background:#f6f7f8eb;border-bottom:1px solid rgba(217,222,229,.9);backdrop-filter:blur(16px)}.topbar-title{min-width:0;display:flex;align-items:center;gap:var(--space-2)}.topbar-title h1{margin:0;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.1rem;line-height:1.15;font-weight:800;letter-spacing:0}.active-run-topbar{align-items:center;flex-direction:row}.active-run-topbar .topbar-title{flex:1 1 0;width:auto;justify-content:flex-start}.topbar-actions{flex:0 0 auto;width:auto;display:flex;flex-wrap:nowrap;align-items:center;gap:var(--space-2)}.topbar-actions .primary-button,.topbar-actions .secondary-button,.topbar-actions .ghost-button{min-height:38px;padding-block:7px;padding-inline:10px}.main-content{display:grid;gap:var(--space-4);padding:var(--space-4)}.submitted-banner{position:sticky;top:calc(var(--topbar-height) + env(safe-area-inset-top));z-index:29;display:flex;align-items:center;gap:var(--space-2);padding:10px var(--space-4);background:var(--info-bg);color:var(--info);border-bottom:1px solid #b2ddff;font-size:.95rem}.submitted-banner p{margin:0;min-width:0}.submitted-banner-icon{flex:0 0 auto;color:var(--info)}.inline-action-link{appearance:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px}.inline-action-link:focus-visible{border-radius:var(--radius-sm);outline:2px solid currentColor;outline-offset:2px}.screen-panel{display:grid;gap:var(--space-4)}.panel-header{display:grid;gap:var(--space-1)}.section-title-row,.panel-header-split{display:grid;gap:var(--space-3)}.section-title-row{grid-template-columns:1fr auto;align-items:center}.panel-header h2,.card h2,.card h3{margin:0;letter-spacing:0}.panel-header h2{font-size:1.25rem;line-height:1.18}.panel-header p,.empty-state p,.run-meta,.helper-text,.action-card p{margin:0;color:var(--muted)}.card{background:var(--surface-raised);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.form-card,.list-card,.action-card{display:grid;gap:var(--space-4);padding:var(--space-4)}.form-surface{padding:0}.stack{display:grid;gap:var(--space-3)}.review-list{display:grid;gap:var(--space-2)}.empty-state{display:grid;justify-items:center;gap:var(--space-2);padding:28px var(--space-4);text-align:center}.empty-state h3{margin:0;font-size:1.08rem}label,.choice-group{display:grid;gap:6px}label span{color:var(--ink);font-weight:700;font-size:.96rem;line-height:1.25}.required-indicator{color:var(--accent);font-weight:900}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.field-row{display:grid;gap:var(--space-4)}input,select,textarea{width:100%;min-height:var(--field-height);border:1px solid #cfd6df;border-radius:var(--radius-md);background:var(--surface);color:var(--ink);padding:11px 12px;box-shadow:none}select{height:var(--field-height);-webkit-appearance:none;appearance:none;padding-right:42px;line-height:1.25;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23545f6f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px}textarea{min-height:112px}input::placeholder,textarea::placeholder{color:#98a2b3}.currency-field{position:relative;display:block;width:100%}label .currency-field{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}.currency-input{padding-left:34px}label .currency-prefix{position:absolute;top:50%;left:12px;z-index:1;color:var(--muted-strong);font-size:1rem;font-weight:800;line-height:1;pointer-events:none;transform:translateY(-50%)}input:focus,select:focus,textarea:focus,button:focus{outline:3px solid rgba(15,107,95,.18);outline-offset:2px}.card-toolbar{display:grid;gap:var(--space-3)}.item-menu-toolbar{grid-template-columns:1fr auto;align-items:center}.card-toolbar h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem}.toolbar-actions,.action-row{display:flex;flex-wrap:wrap;gap:var(--space-2)}.primary-button,.secondary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--icon-gap);min-height:44px;border-radius:var(--radius-md);padding:9px 13px;border:1px solid transparent;font-weight:750;line-height:1.2}.primary-button{background:var(--accent);color:#fff;box-shadow:none}.secondary-button{background:var(--accent-soft);color:var(--accent-ink);border-color:#bee5de}.ghost-button{background:var(--surface);color:var(--muted-strong);border-color:var(--line)}.danger-button{background:var(--danger);color:#fff;border-color:var(--danger)}.topbar-primary{flex:0 0 auto;min-height:40px;padding-inline:12px}.topbar-icon-button{width:40px;min-height:40px;padding:0}.topbar-icon-button .button-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.65}.add-button{width:100%}.section-add-button{min-height:40px;padding-block:8px;padding-inline:12px;white-space:nowrap}.button-icon,.inline-icon{flex:0 0 auto;width:var(--icon-size);height:var(--icon-size);display:inline-flex;align-items:center;justify-content:center;color:currentColor}.button-icon svg,.inline-icon svg{width:100%;height:100%;display:block}.button-label{min-width:0;overflow-wrap:anywhere}.heading-with-icon{display:inline-flex;align-items:center;gap:.55rem}.heading-icon{color:var(--accent)}.empty-state-icon{width:1.4rem;height:1.4rem;color:var(--accent)}.run-card{padding:var(--space-3);position:relative}.item-summary-card{position:relative;display:grid;grid-template-columns:1fr auto;align-items:start;gap:var(--space-2);padding:var(--space-3)}.item-summary-main{display:grid;gap:3px;min-width:0;width:100%;min-height:46px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.item-summary-title,.item-summary-meta,.item-summary-detail{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-summary-title{color:var(--ink);font-size:1rem;font-weight:800}.item-summary-meta{color:var(--muted-strong);font-size:.9rem;font-weight:650}.item-summary-detail{color:var(--muted);font-size:.85rem}.editor-screen{gap:var(--space-4)}.editor-header{display:block}.editor-title{min-width:0;display:grid;gap:var(--space-1)}.editor-title h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem}.editor-status{color:var(--muted);font-size:.82rem;font-weight:750}.run-card.is-current{border-color:#9ed8cf}.run-card-top{display:grid;grid-template-columns:1fr auto;align-items:start;gap:var(--space-2)}.run-card-main{display:block;min-width:0;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left}.run-title-row{display:flex;align-items:center;gap:var(--space-2)}.run-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:800}.run-meta{margin-top:var(--space-1);font-size:.9rem}.icon-button{width:36px;min-height:36px;padding:0}.icon-button .button-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.action-menu-wrap{position:relative}.action-menu-button{background:transparent;border-color:transparent;color:var(--muted-strong);box-shadow:none}.action-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;width:190px;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.action-menu button{display:flex;align-items:center;gap:var(--space-2);width:100%;min-height:44px;padding:10px 12px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;color:var(--ink);font-weight:700;text-align:left}.action-menu button:last-child{border-bottom:0}.action-menu .danger-menu-item{color:var(--danger)}.menu-icon{width:1rem;height:1rem}.status-badge{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto;border-radius:var(--radius-pill);padding:4px 7px;font-size:.7rem;font-weight:850;text-transform:uppercase}.status-open{background:var(--success-bg);color:var(--success)}.status-submitted{background:var(--accent-soft);color:var(--accent-ink)}.status-icon{width:.82rem;height:.82rem}.screen-nav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;min-height:calc(var(--tabbar-height) + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);backdrop-filter:blur(18px)}.screen-tab{display:grid;justify-items:center;align-content:center;gap:4px;min-width:0;min-height:46px;border:0;border-radius:var(--radius-md);padding:4px 2px;background:transparent;color:var(--muted);font-size:.64rem;font-weight:750}.screen-tab .tab-icon{width:1.08rem;height:1.08rem}.screen-tab span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-tab.is-active{color:var(--accent-ink)}.notice{border:1px solid transparent;border-radius:var(--radius-md);padding:12px}.notice p,.notice strong,.notice span{margin:0}.notice p{margin-top:3px}.compact-notice{display:flex;align-items:baseline;gap:var(--space-2);padding-block:10px}.compact-notice strong{flex:0 0 auto}.compact-notice span{min-width:0}.notice.warning{background:var(--warning-bg);color:var(--warning);border-color:#fedf89}.notice.error{background:var(--error-bg);color:var(--error);border-color:#fda4af}.notice.success{background:var(--success-bg);color:var(--success);border-color:#abefc6}.notice.info{background:var(--info-bg);color:var(--info);border-color:#b2ddff}.helper-text{font-size:.92rem}.action-card>h3+p{margin-top:calc(-1 * var(--space-2))}.summary-list{display:grid;gap:var(--space-2);margin:0}.summary-list div{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.summary-list div:last-child{border-bottom:0;padding-bottom:0}.summary-list dt{color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase}.summary-list dd{margin:0;color:var(--ink);font-weight:700}.modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:end center;padding:var(--space-4);background:#1118276b;backdrop-filter:blur(4px)}.modal-card{width:min(100%,420px);display:grid;gap:var(--space-3);padding:var(--space-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.modal-card h2,.modal-card p{margin:0}.modal-card h2{font-size:1.25rem}@media(hover:hover){.primary-button:hover{background:var(--accent-pressed)}.secondary-button:hover,.screen-tab:hover{background:#d9efeb}.ghost-button:hover{background:#f9fafb}.action-menu-button:hover{background:var(--line-soft);border-color:transparent}}@media(max-width:719px){.app-topbar{gap:var(--space-2)}.active-run-topbar .topbar-title{gap:6px}.active-run-topbar .status-badge{width:24px;height:24px;justify-content:center;padding:0}.active-run-topbar .status-badge>span:last-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.active-run-topbar .status-icon{width:.76rem;height:.76rem}.topbar-actions{margin-left:auto;gap:6px}.topbar-actions .primary-button,.topbar-actions .secondary-button,.topbar-actions .ghost-button{width:40px;min-height:40px;padding:0}.topbar-actions .button-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toolbar-actions,.action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.action-row{grid-template-columns:1fr}.toolbar-actions>button,.action-row>button{width:100%}.card-toolbar .toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.run-card .toolbar-actions{display:flex}.run-card .toolbar-actions>button{width:38px}.compact-notice{align-items:start}}@media(min-width:720px){.app-shell,.app-shell.has-bottom-tabs{padding-bottom:var(--space-6)}.app-topbar{margin:0 var(--space-6);padding-inline:0}.active-run-topbar{flex-direction:row;align-items:center}.active-run-topbar .topbar-title{width:auto;flex:1 1 auto;justify-content:flex-start}.topbar-actions{width:auto;display:flex}.main-content{padding:var(--space-5) var(--space-6)}.screen-panel{gap:var(--space-5)}.panel-header-split{grid-template-columns:1fr auto;align-items:center}.field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.form-surface{max-width:680px}.card-toolbar{grid-template-columns:1fr auto;align-items:center}.run-card-top{grid-template-columns:1fr auto;align-items:start}.screen-nav{position:sticky;top:calc(var(--topbar-height) + env(safe-area-inset-top));bottom:auto;width:calc(100% - 48px);max-width:872px;min-height:auto;margin:var(--space-2) auto 0;padding:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.screen-tab{min-height:44px;grid-auto-flow:column;gap:6px;font-size:.86rem}.screen-tab .tab-icon{width:1rem;height:1rem}.action-card .action-row{display:flex}}
