@import "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Inter:wght@400;600;800&display=swap";:root{color:#11344f;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f6f9;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:#f3f6f9;min-height:100vh;margin:0}#root{min-height:100vh}.app-page{background:#edf2f7;height:100vh;min-height:100vh;padding:0;overflow:hidden}.app-card{width:100%;height:100vh;min-height:100vh;box-shadow:none;background:#fff;border:0;border-radius:0;margin:0;overflow:hidden}.login-screen{background:#0d2d44;place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{text-align:center;background:#fff;border-radius:2.5rem;width:100%;max-width:380px;padding:2rem;box-shadow:0 24px 48px #00000059}.login-logo{width:128px;height:auto;margin:0 auto 18px}.login-title{color:#0d2d44;font-variant:small-caps;margin:0;font-family:Cinzel,serif;font-size:2.05rem;font-weight:900;line-height:1.05}.login-subtitle{color:#94a3b8;letter-spacing:.2em;margin:8px 0 22px;font-family:Cinzel,serif;font-size:11px;font-weight:800}.login-form{gap:12px;display:grid}.login-field{background:#fff;border:1px solid #d4af37;border-radius:12px;height:56px;position:relative}.login-field-icon{color:#94a3b8;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.login-input{color:#334155;background:0 0;border:0;outline:none;width:100%;height:100%;padding:0 14px 0 46px;font-weight:600}.login-submit{color:#fff;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;background:#0d2d44;border:0;border-radius:12px;width:100%;height:48px;font-size:11px;font-weight:900}.login-submit:hover{background:#1a3f5e}.login-submit:disabled{opacity:.7;cursor:not-allowed}.login-screen .connect-error{margin:0}.login-remember{color:#475569;justify-self:start;align-items:center;gap:8px;margin-left:2px;font-size:12px;font-weight:600;display:inline-flex}.login-remember input{accent-color:#0d2d44}.topbar{color:#123252;z-index:30;background:#fff;border-bottom:1px solid #d8e1ea;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 12px;display:flex;position:sticky;top:0;box-shadow:0 1px #12325214}.brand-block{align-items:center;gap:12px;display:flex}.brand-logo{object-fit:contain;filter:none;box-sizing:border-box;background:#fff;border:1px solid #d4af37a6;border-radius:999px;width:56px;height:56px;padding:5px;box-shadow:0 2px 8px #00000040}.brand-copy{flex-direction:column;gap:2px;display:flex}.brand-title{letter-spacing:-.02em;margin:0;font-family:Cinzel,serif;font-size:31px;font-weight:900;line-height:1}.brand-title-main{color:#0f3b68;font-variant:small-caps}.brand-title-accent{color:#b31d2d;font-variant:normal}.brand-subtitle{color:#b31d2d;letter-spacing:.16em;text-transform:uppercase;margin:0;font-family:Cinzel,serif;font-size:10px;font-weight:800}.actions{background:#0d2d44;border:1px solid #d4af37;border-radius:999px;flex-wrap:nowrap;gap:0;display:flex;overflow:hidden}.connect-input{color:#123252;background:#f8fbff;border:1px solid #d4af37;border-radius:999px;min-width:120px;padding:8px 12px;font-size:12px}.readonly-pill{color:#f2df9d;text-transform:uppercase;letter-spacing:.08em;background:#ffffff14;border:1px solid #d4af37;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:700}.actions button{color:#d4af37;text-transform:uppercase;letter-spacing:.03em;cursor:pointer;background:0 0;border:0;border-right:1px solid #d4af37;padding:8px 12px;font-family:Cinzel,serif;font-size:16px;font-weight:700}.actions button:last-child{border-right:0}.actions button:hover{color:#f2df9d;background:#174666}.logout-btn{color:#547191;letter-spacing:.03em;text-transform:uppercase;cursor:pointer;background:#f8fbff;border:1px solid #d8e1ea;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;padding:6px;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:600;display:inline-flex}.logout-btn:hover{color:#2f5378;background:#eef4fb}.connect-error{color:#ffd0d6;background:#7b1f2f;border:1px solid #a53d52;border-radius:8px;margin:8px 16px 0;padding:8px 10px;font-size:12px}.overview-row{z-index:20;background:linear-gradient(#0d2945 0%,#103254 100%);border-bottom:1px solid #1f466a;grid-template-columns:1fr 2fr;gap:10px;padding:10px 16px;display:grid;position:sticky;top:84px}.boat-info-panel{background:#f5f8fc;border:1px solid #8ea7bf;border-radius:12px;padding:10px}.boat-info-grid{grid-template-columns:repeat(2,minmax(140px,1fr));gap:10px;width:100%;display:grid}.boat-info-item{flex-direction:column;gap:2px;display:flex}.boat-info-item-under-hull{grid-column:2}.boat-info-label{color:#1e4468;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:800}.boat-info-value{color:#123252;font-size:13px;font-weight:700}.boat-info-footer{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.context-pill{letter-spacing:.04em;text-transform:uppercase;border:1px solid #0000;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.context-pills{align-items:center;gap:8px;display:flex}.status-pill.status-pending{color:#065f46;background:#d1fae5;border-color:#a7f3d0}.status-pill.status-processing,.status-pill.status-ordered{color:#0c4a6e;background:#e0f2fe;border-color:#bae6fd}.status-pill.status-shipped{color:#78350f;background:#fef3c7;border-color:#fde68a}.status-pill.status-received{color:#1e293b;background:#e2e8f0;border-color:#cbd5e1}.status-pill.status-cancelled{color:#7f1d1d;background:#fee2e2;border-color:#fecaca}.status-pill.status-none{color:#4a5565;background:#666e7a1f;border-color:#666e7a4d}.priority-pill.urgency-routine{color:#065f46;background:#d1fae5;border-color:#a7f3d0}.priority-pill.urgency-urgent{color:#92400e;background:#fef3c7;border-color:#fde68a}.priority-pill.urgency-critical{color:#991b1b;background:#fee2e2;border-color:#fecaca}.priority-pill.urgency-none{color:#4a5565;background:#666e7a1f;border-color:#666e7a4d}.context-note{color:#395a79;white-space:nowrap;font-size:11px;font-weight:600}.image-strip-card{background:#f5f8fc;border:1px solid #8ea7bf;border-radius:14px;margin:0;padding:10px 12px}.strip-header{color:#123252;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:700;display:flex}.strip-header-right,.photo-action-groups{align-items:center;gap:8px;display:flex}.photo-action-group{background:#0d2d4414;border:1px solid #d4af37;border-radius:10px;align-items:center;gap:8px;padding:4px 6px;display:inline-flex}.photo-action-group-logout{background:#9b1c2d14}.photo-header-action{color:#f2df9d;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:#0d2d44;border:1px solid #d4af37;border-radius:8px;padding:6px 10px;font-size:10px;font-weight:800}.photo-header-action:disabled{opacity:.5;cursor:not-allowed}.sync-progress{align-items:center;gap:8px;min-width:128px;display:inline-flex;position:relative}.sync-progress:before{content:"";background:#dbe7f2;border-radius:999px;width:84px;height:6px;display:block}.sync-progress-bar{background:#1c5f92;border-radius:999px;height:6px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.sync-progress-label{color:#35597a;font-size:10px;font-weight:700}.thumb-strip{align-items:center;gap:8px;display:flex;overflow-x:auto}.thumb-button{cursor:pointer;background:#fff;border:2px solid #7a97b4;border-radius:8px;flex:none;width:128px;height:128px;padding:0;overflow:hidden}.thumb-button img{object-fit:cover;width:100%;height:100%}.thumb-button:hover{border-color:#1f4b75}.empty-photos{color:#395a79;margin:2px 0;font-size:12px}.table-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:10px 16px 8px;display:flex}.desk-toolbar{z-index:19;background:#fff;padding-top:8px;position:sticky;top:252px}.table-tabs{background:#0d2d44;border:1px solid #d4af37;border-radius:999px;align-items:center;gap:0;display:flex;overflow:hidden}.tab-btn{color:#f2df9d;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;border-right:1px solid #d4af37;padding:6px 10px;font-family:Cinzel,serif;font-size:11px;font-weight:800}.tab-btn:last-child{border-right:0}.tab-btn.is-active{color:#fff2c6;background:#1b4f78}.boats-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:8px 16px 16px;display:grid}.boat-edit-card{background:#fff;border:1px solid #d4dde8;border-radius:10px;gap:8px;padding:10px;display:grid}.boat-edit-card input{border:1px solid #c7d3df;border-radius:8px;padding:7px 8px}.modal-backdrop{z-index:1000;background:#0a141e73;place-items:center;display:grid;position:fixed;inset:0}.new-request-modal{background:#fff;border-radius:20px;gap:12px;width:min(560px,92vw);padding:20px;display:grid;position:relative}.new-request-title{color:#0d2d44;font-variant:small-caps;text-align:center;margin:0;font-family:Cinzel,serif;font-size:24px}.new-request-close{color:#334155;cursor:pointer;background:#eef2f7;border:0;border-radius:999px;width:30px;height:30px;font-weight:900;position:absolute;top:10px;right:10px}.new-request-label{text-transform:uppercase;letter-spacing:.16em;color:#94a3b8;margin-bottom:5px;font-size:10px;font-weight:900;display:block}.new-request-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.new-request-gold-field{background:#fff;border:1px solid #d4af37;border-radius:16px;min-height:56px}.new-request-gold-field:focus-within{border:2px solid #b91c1c}.new-request-icon-field{position:relative}.new-request-field-icon{color:#94a3b8;pointer-events:none;opacity:.95;justify-content:center;align-items:center;line-height:1;display:inline-flex;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.new-request-field-icon-top{top:18px;transform:none}.new-request-input{color:#334155;text-align:left;background:0 0;border:0;border-radius:16px;outline:none;width:100%;padding:10px 12px 10px 44px;font-family:Inter,system-ui,sans-serif;font-size:16px;font-weight:700;line-height:1.2}.new-request-input::placeholder{color:#7f8ea3;font-weight:600}.new-request-textarea{resize:vertical;min-height:92px;padding-top:12px;font-size:15px}.new-request-textarea-wrap .new-request-textarea{min-height:110px}.new-request-select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#d4af37 50%),linear-gradient(135deg,#d4af37 50%,#0000 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-repeat:no-repeat;background-size:6px 6px,6px 6px;padding-right:26px}.new-request-urgency{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:8px;min-height:56px;padding:6px;display:flex}.new-request-urgency-btn{text-transform:uppercase;letter-spacing:.08em;color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:9999px;flex:1;height:34px;font-size:10px;font-weight:900}.new-request-urgency-inactive{color:#94a3b8;background:0 0}.urgency-active-1{color:#fff;background:#10b981;border:1px solid #047857;box-shadow:0 4px 12px #10b98133}.urgency-active-2{color:#fff;background:#f59e0b;border:1px solid #b45309;box-shadow:0 4px 12px #f59e0b33}.urgency-active-3{color:#fff;background:#ef4444;border:1px solid #b91c1c;box-shadow:0 4px 12px #ef444433}.new-request-qty-stepper{grid-template-columns:1fr 1fr 1fr;display:grid;overflow:hidden}.new-request-qty-stepper .new-request-input{text-align:center;padding-left:12px;font-weight:700}.new-request-qty-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-left:1px solid #e2e8f0;font-size:28px;line-height:1}.new-request-qty-plus{color:#fff;background:#0d2d44;border-left-color:#0a2233}.new-request-photo-note{color:#64748b;margin:0 0 8px;font-size:11px;font-weight:600}.new-request-suggestions{background:#fff;border:1px solid #d4af37;border-radius:14px;margin-top:6px;display:grid;overflow:hidden}.new-request-suggestions button{text-align:left;color:#334155;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eef2f7;padding:9px 12px;font-weight:700}.boats-table-wrap{background:#fff;border:1px solid #d6e0ea;border-radius:10px;margin:8px 16px 16px;overflow:auto}.boats-table{border-collapse:collapse;width:100%;font-size:12px}.boats-table th,.boats-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e7edf4;padding:6px 8px}.boats-table td input{border:1px solid #c7d3df;border-radius:7px;width:100%;min-width:110px;padding:6px 7px}.boats-table td input.missing-cell{border:3px solid #dc2626}.boats-save-btn{color:#d4af37;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:#0d2d44;border:1px solid #1e4468;border-radius:8px;padding:6px 10px;font-size:11px;font-weight:800}.boats-new-row td{background:#f8fbff}.boats-save-btn:hover:not(:disabled){color:#f2df9d;background:#174666}.boats-save-btn:disabled{opacity:.55;cursor:not-allowed}.col-id{white-space:nowrap;text-overflow:ellipsis;width:122px;max-width:122px;overflow:hidden}.col-shipped{text-overflow:ellipsis;width:92px;max-width:92px;overflow:hidden}.new-request-suggestions button:last-child{border-bottom:0}.new-request-suggestions button:hover{background:#f8fafc}.new-request-photos-dropzone{text-align:center;background:#f8fafc;border:2px dashed #e2e8f0;border-radius:16px;padding:12px}.new-request-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.new-request-photo-item{aspect-ratio:4/3;border:1px solid #d6dee8;border-radius:12px;position:relative;overflow:hidden}.new-request-photo-item img{object-fit:cover;width:100%;height:100%}.new-request-photo-open{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.new-request-photo-remove{color:#fff;cursor:pointer;background:#ef4444;border:0;border-radius:999px;width:22px;height:22px;font-weight:800;position:absolute;top:4px;right:4px}.new-request-photo-btn{color:#64748b;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:#fff;border:1px solid #d6dee8;border-radius:12px;padding:10px 14px;font-size:10px;font-weight:900}.new-request-photo-btn:disabled{opacity:.6;cursor:not-allowed}.new-request-file-input{display:none}.modal-row,.modal-actions{gap:8px;display:grid}.new-request-submit{color:#fff;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;background:linear-gradient(90deg,#0d2d44,#174666);border:1px solid #224f6f;border-radius:12px;width:100%;min-height:48px;font-size:11px;font-weight:900;box-shadow:0 10px 28px #0d2d4459}.new-request-submit:hover:not(:disabled){background:linear-gradient(90deg,#123852,#1d567d)}.new-request-submit:disabled{opacity:.65;cursor:not-allowed}@media (width<=720px){.new-request-grid{grid-template-columns:1fr}}.table-toolbar-meta{align-items:baseline;gap:10px;display:flex}.table-toolbar-title{color:#0f2c4a;letter-spacing:.08em;text-transform:uppercase;font-size:14px;font-weight:800}.table-toolbar-count{color:#365573;font-size:12px;font-weight:600}.table-search{align-items:center;gap:8px;min-width:340px;display:flex}.table-search input{box-sizing:border-box;color:#0f2c4a;background:#f8fbff;border:1px solid #6f8daa;border-radius:8px;width:100%;padding:9px 12px;font-size:13px}.table-search button{color:#123252;cursor:pointer;background:#eef4fa;border:1px solid #7f9ab6;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:700}.content-grid{display:block}.table-card{box-shadow:none;background:#fff;border:0;border-radius:0;margin:0 16px 16px}.editor-card{background:#f7f9fc;border:1px solid #8ea7bf;border-radius:14px;margin:0 16px 16px;padding:12px;box-shadow:0 10px 24px #0d2d4412}.editor-header{color:#0f2c4a;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;font-weight:700;display:flex}.editor-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;display:grid}.editor-grid label{flex-direction:column;gap:4px;display:flex}.editor-grid span{color:#1e4468;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.editor-grid input,.editor-grid select,.editor-grid textarea{color:#102e4b;background:#fffef9;border:1px solid #97aec3;border-radius:10px;padding:8px 10px;font-family:inherit;font-size:13px}.field-error{background:#fff6f7!important;border-color:#df5567!important}.error-text{color:#b0384f;font-size:11px;line-height:1.2}.editor-wide{grid-column:1/-1}.table-wrap{scrollbar-gutter:stable both-edges;max-height:calc(100vh - 336px);overflow:auto}table{border-collapse:collapse;width:max-content;min-width:100%;font-size:12px}thead th{z-index:1;color:#f2df9d;text-align:left;white-space:nowrap;letter-spacing:.04em;background:linear-gradient(#0f2c4a 0%,#0a1f37 100%);border-bottom:1px solid #264f75;border-right:1px solid #d4af3759;padding:8px;font-family:Cinzel,serif;font-size:11px;position:sticky;top:0}.th-sort{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.th-sort:hover{text-decoration:underline}tbody td{white-space:nowrap;color:#123252;border-bottom:1px solid #d5e0ea;border-right:1px solid #e7eef5;padding:7px 8px}.wrap-col{min-width:200px}.wrap-cell{white-space:normal;word-break:break-word;min-width:200px;max-width:360px;line-height:1.3}.cell-input{box-sizing:border-box;width:100%;min-width:110px;color:inherit;background:0 0;border:0;border-bottom:1px dashed #9fb3c6;border-radius:0;padding:2px 0;font-size:12px}.cell-input--wrap{white-space:pre-wrap;word-break:break-word;resize:vertical;min-width:180px}.comment-history{white-space:pre-wrap}.urgency-badge{letter-spacing:.02em;border:1px solid #0000;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-block}.urgency-routine{color:#1f6b40;background:#e9f5ec;border-color:#afd8bc}.urgency-urgent{color:#8a5600;background:#fff4df;border-color:#f0cb83}.urgency-critical{color:#9e1f31;background:#ffe7ea;border-color:#e5a1aa}.status-badge{letter-spacing:.02em;border:1px solid #0000;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-block}.status-pending{color:#35516c;background:#eef2f7;border-color:#b7c7d7}.status-ordered{color:#8a5600;background:#fff4df;border-color:#f0cb83}.status-processing{color:#184e9f;background:#e7f0ff;border-color:#9fb9e6}.status-shipped{color:#556270;background:#eef1f4;border-color:#c6ced7}.status-received{color:#1f6b40;background:#e9f5ec;border-color:#afd8bc}.status-cancelled{color:#5d636b;background:#f1f2f4;border-color:#c9ced4}tbody tr{cursor:pointer}tbody tr.urgency-row-routine.row-tone-even td{background:#1f6b401f}tbody tr.urgency-row-routine.row-tone-odd td{background:#1f6b402e}tbody tr.urgency-row-urgent.row-tone-even td{background:#8a560024}tbody tr.urgency-row-urgent.row-tone-odd td{background:#8a560038}tbody tr.urgency-row-critical.row-tone-even td{background:#9e1f3129}tbody tr.urgency-row-critical.row-tone-odd td{background:#9e1f3140}tbody tr.urgency-row-routine td:first-child,tbody tr.urgency-row-urgent td:first-child,tbody tr.urgency-row-critical td:first-child{border-left:5px solid #0000}tbody tr.urgency-row-routine td:first-child{border-left-color:#1f6b40d9}tbody tr.urgency-row-urgent td:first-child{border-left-color:#8a5600e6}tbody tr.urgency-row-critical td:first-child{border-left-color:#9e1f31f2}tbody tr:hover td{filter:brightness(.98)}tbody tr.status-deemphasized-row td{color:#6c7785}tbody tr.status-deemphasized-row .status-badge{opacity:.85}.selected-row{background:#d8e4f0!important}.selected-row td{filter:none!important;background:#d8e4f0!important;border-left-color:#0000!important}.lightbox-overlay{z-index:1000;background:#0e212ed6;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:fixed;inset:0}.lightbox-image{border:2px solid #fff;border-radius:10px;max-width:min(86vw,1024px);max-height:86vh;box-shadow:0 16px 48px #00000059}.lightbox-nav{color:#11344f;cursor:pointer;background:#ffffffeb;border:0;border-radius:999px;width:42px;height:42px;font-size:24px;line-height:1}@media (width<=1100px){.topbar{flex-direction:column;align-items:stretch}.brand-title{font-size:28px}.overview-row{grid-template-columns:1fr}.boat-info-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.boat-info-item-under-hull{grid-column:1/-1}.boat-info-footer{flex-direction:column;align-items:flex-start;gap:6px}.editor-grid{grid-template-columns:1fr}.table-toolbar{flex-direction:column;align-items:stretch}.table-search{width:100%;min-width:0}.strip-header-right{flex-wrap:wrap;justify-content:flex-end}}
