#clever-pack-app {
background-color: #1b233a !important;
color: #f8fafc !important;
font-family: system-ui, -apple-system, sans-serif !important;
padding: 24px !important;
border-radius: 16px !important;
max-width: 1200px !important;
margin: 20px auto !important;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4) !important;
border: 1px solid #2d3a5e !important;
}
#clever-pack-app h2 { color: #ffffff !important; font-size: 28px !important; margin: 0 !important; font-weight: 800 !important; }
#clever-pack-app h2 i { color: #ffffff !important; }
#clever-pack-app h3 { color: #ffffff !important; }
#clever-pack-app p { color: #94a3b8 !important; margin: 4px 0 0 0 !important; }
.cpb-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2d3a5e; padding-bottom: 16px; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.cpb-dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 20px;
align-items: start;
width: 100%;
}
@media (min-width: 960px) {
.cpb-dashboard-grid {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
}
.cpb-dashboard-column {
display: flex;
flex-direction: column;
gap: 20px;
min-width: 0;
}
.cpb-dashboard-column > .cpb-identity,
.cpb-dashboard-column > .cpb-stats,
.cpb-dashboard-column > .cpb-breakdown-card,
.cpb-dashboard-column > .cpb-shakedown,
.cpb-dashboard-column > .cpb-form-box,
.cpb-dashboard-column > .cpb-closet-section,
.cpb-dashboard-column > .cpb-gear-list-container {
margin-bottom: 0 !important;
margin-top: 0 !important;
}
.cpb-gear-list-container {
min-width: 0;
width: 100%;
}
@media (min-width: 960px) {
.cpb-dashboard-column-planning .cpb-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cpb-dashboard-column-planning .cpb-identity-grid {
grid-template-columns: 1fr;
}
.cpb-dashboard-column-building .cpb-form-grid {
grid-template-columns: 1fr 1fr;
}
.cpb-dashboard-column-building .cpb-form-grid > div:first-child {
grid-column: 1 / -1;
}
.cpb-dashboard-column-building .cpb-form-grid > div:last-child {
grid-column: 1 / -1;
}
}
.cpb-identity { background: #253150 !important; border: 1px solid #36456e !important; border-radius: 12px !important; padding: 16px 20px !important; margin-bottom: 20px !important; }
.cpb-identity-title { font-size: 13px !important; font-weight: 700 !important; color: #94a3b8 !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; margin: 0 0 12px 0 !important; }
.cpb-identity-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.cpb-identity-context { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cpb-identity-hint { margin: 10px 0 0 0; font-size: 11px; color: #64748b !important; line-height: 1.45; }
@media (max-width: 768px) { .cpb-identity-grid, .cpb-identity-context { grid-template-columns: 1fr; } }
.cpb-identity-label { display: block !important; font-size: 12px !important; color: #94a3b8 !important; margin-bottom: 6px !important; font-weight: 600 !important; }
.cpb-print-header { display: none; }
.cpb-print-header-inner { font-size: 14px; color: #333333; margin-bottom: 8px; }
.cpb-print-header-inner strong { color: #000000; }
.cpb-print-weights,
.cpb-print-categories,
.cpb-category-subtotal { display: none; }
.cpb-header-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.cpb-btn { padding: 8px 16px !important; border-radius: 8px !important; font-weight: 600 !important; cursor: pointer !important; font-size: 14px !important; border: 1px solid transparent !important; }
.cpb-btn-action {
background: #2b3964 !important;
color: #ffffff !important;
border: 1px solid #3b4d7a !important;
font-size: 13px !important;
font-weight: 600 !important;
padding: 8px 12px !important;
white-space: nowrap !important;
transition: background 0.2s ease, border-color 0.2s ease !important;
}
.cpb-btn-action:hover {
background: #3c4f8a !important;
border-color: #4a5f9a !important;
color: #ffffff !important;
}
.cpb-btn-unit { background: #2b3964 !important; color: #ffffff !important; border-color: #36456e !important; }
.cpb-btn-unit:hover { background: #36456e !important; color: #ffffff !important; }
.cpb-btn-reset { background: #450a0a !important; color: #fca5a5 !important; border-color: #7f1d1d !important; }
.cpb-btn-add {
background: #2b3964 !important;
color: #ffffff !important;
font-weight: 800 !important;
border: 1px solid #3b4d7a !important;
width: 100% !important;
padding: 10px 16px !important;
border-radius: 8px !important;
cursor: pointer !important;
font-size: 14px !important;
transition: background 0.2s ease !important;
}
.cpb-btn-add:hover {
background: #3c4f8a !important;
}
.cpb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cpb-stat-card { background: #253150 !important; padding: 16px !important; border-radius: 12px !important; border: 1px solid #36456e !important; }
.cpb-stat-label { font-size: 11px !important; text-transform: uppercase !important; color: #94a3b8 !important; font-weight: 700 !important; display: block !important; }
.cpb-stat-val { font-size: 24px !important; font-weight: 900 !important; margin: 4px 0 !important; }
#stat-base { color: #ffffff !important; }
.cpb-shakedown { background: #253150 !important; border: 1px solid #36456e !important; padding: 16px !important; border-radius: 12px !important; margin-bottom: 20px; color: #e2e8f0 !important; }
.cpb-shakedown-title { font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #ffffff !important; }
#shakedown-messages { display: flex; flex-direction: column; gap: 12px; }
.cpb-shakedown-empty,
.cpb-shakedown-success { font-size: 14px; color: #e2e8f0 !important; margin: 0; line-height: 1.45; }
.cpb-shakedown-success { color: #86efac !important; }
.cpb-shakedown-checklist-wrap {
background: #1a233a;
border: 1px solid #36456e;
border-radius: 10px;
padding: 12px 14px;
}
.cpb-shakedown-checklist-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
margin-bottom: 10px;
}
.cpb-shakedown-checklist-title {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #94a3b8 !important;
}
.cpb-shakedown-checklist-summary {
font-size: 12px;
font-weight: 700;
color: #e2e8f0 !important;
}
.cpb-shakedown-checklist {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px 12px;
}
@media (max-width: 640px) {
.cpb-shakedown-checklist { grid-template-columns: 1fr; }
}
.cpb-shakedown-check {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto auto;
column-gap: 8px;
align-items: start;
font-size: 13px;
line-height: 1.35;
}
.cpb-shakedown-check-icon {
font-weight: 800;
width: 16px;
text-align: center;
}
.cpb-shakedown-check--ok .cpb-shakedown-check-icon { color: #86efac !important; }
.cpb-shakedown-check--missing .cpb-shakedown-check-icon { color: #fcd34d !important; }
.cpb-shakedown-check-label { color: #f8fafc !important; font-weight: 600; }
.cpb-shakedown-check-note {
grid-column: 2;
font-size: 11px;
color: #94a3b8 !important;
}
.cpb-shakedown-section {
border-top: 1px solid #36456e;
padding-top: 10px;
}
.cpb-shakedown-section-title {
margin: 0 0 6px 0;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.cpb-shakedown-section--critical .cpb-shakedown-section-title { color: #fca5a5 !important; }
.cpb-shakedown-section--warning .cpb-shakedown-section-title { color: #fcd34d !important; }
.cpb-shakedown-section--tip .cpb-shakedown-section-title { color: #86efac !important; }
.cpb-shakedown-savings-summary {
margin: 0 0 10px 0;
padding: 10px 12px;
border-radius: 8px;
background: #14532d;
border: 1px solid #166534;
font-size: 14px;
color: #dcfce7 !important;
line-height: 1.45;
}
.cpb-shakedown-savings-breakdown {
display: block;
margin-top: 4px;
font-size: 12px;
color: #bbf7d0 !important;
}
.cpb-shakedown-msg { font-size: 14px; color: #e2e8f0 !important; margin: 4px 0; line-height: 1.45; }
.cpb-shakedown-link {
color: #93c5fd !important;
text-decoration: underline;
font-weight: 600;
}
.cpb-shakedown-link:hover {
color: #bfdbfe !important;
}
.cpb-form-box { background: #253150 !important; padding: 20px !important; border-radius: 12px !important; border: 1px solid #36456e !important; margin-bottom: 20px; }
.cpb-form-grid { display: grid; grid-template-columns: 2fr 1.5fr 0.65fr 0.85fr 1fr; gap: 10px; margin-bottom: 12px; }
.cpb-input-qty { min-width: 0; text-align: center; }
@media (max-width: 768px) { .cpb-form-grid { grid-template-columns: 1fr; } }
.cpb-input, .cpb-select { background: #121829 !important; color: #ffffff !important; border: 1px solid #36456e !important; padding: 10px 12px !important; border-radius: 8px !important; font-size: 14px !important; width: 100% !important; box-sizing: border-box !important; }
.cpb-input::placeholder { color: #64748b !important; }
.cpb-checkbox-group { display: flex; gap: 20px; font-size: 13px !important; color: #f8fafc !important; margin-top: 10px; }
.cpb-checkbox-group label { color: #f8fafc !important; display: flex !important; align-items: center !important; gap: 6px !important; cursor: pointer !important; }
.cpb-comfort-rating-wrap {
margin-top: 10px;
max-width: 280px;
}
.cpb-closet-comfort-rating-wrap {
margin-top: 0;
margin-bottom: 12px;
}
.cpb-comfort-rating-hint {
margin: 6px 0 0 0;
font-size: 11px;
color: #64748b !important;
line-height: 1.45;
}
.cpb-comfort-rating-input {
max-width: 140px;
}
.cpb-comfort-rating-badge {
display: inline-block;
margin-left: 8px;
padding: 1px 7px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
color: #bfdbfe !important;
background: #1e3a5f !important;
border: 1px solid #3b82f6 !important;
vertical-align: middle;
}
.cpb-name-autocomplete-wrap,
.cpb-closet-name-wrap {
position: relative;
flex: 2;
min-width: 180px;
}
.cpb-autocomplete-list {
position: absolute;
top: calc(100% + 4px);
left: 0;
right: 0;
z-index: 50;
max-height: 220px;
overflow-y: auto;
background: #121829 !important;
border: 1px solid #36456e !important;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.cpb-suggest-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 10px 12px;
cursor: pointer;
color: #f8fafc !important;
font-size: 13px;
border-bottom: 1px solid #253150 !important;
}
.cpb-suggest-name {
flex: 1;
min-width: 0;
line-height: 1.35;
}
.cpb-suggest-meta {
display: inline-flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.cpb-suggest-shop-link {
font-size: 11px;
font-weight: 700;
color: #93c5fd !important;
text-decoration: none !important;
padding: 2px 6px;
border-radius: 4px;
border: 1px solid #36456e;
background: #1a233a;
white-space: nowrap;
}
.cpb-suggest-shop-link:hover {
color: #bfdbfe !important;
border-color: #4a5f9a;
background: #253150;
}
.cpb-suggest-item:last-child { border-bottom: none !important; }
.cpb-suggest-item:hover { background: #253150 !important; }
.cpb-suggest-weight {
flex-shrink: 0;
font-size: 11px;
color: #94a3b8 !important;
}
.cpb-import-box {
margin-top: 15px;
padding: 12px 14px;
background: #1a233a !important;
border-radius: 8px;
border: 1px dashed #36456e !important;
}
.cpb-import-title { margin: 0 0 8px 0; font-size: 14px; color: #ffffff !important; font-weight: 700; }
.cpb-import-description { margin: 0 0 10px 0; font-size: 12px; color: #94a3b8 !important; line-height: 1.45; }
.cpb-import-textarea {
width: 100% !important;
min-height: 60px;
background: #121829 !important;
color: #ffffff !important;
border: 1px solid #36456e !important;
border-radius: 4px;
padding: 8px 10px !important;
font-size: 12px !important;
resize: vertical;
box-sizing: border-box !important;
font-family: inherit;
}
.cpb-import-textarea::placeholder { color: #64748b !important; }
.cpb-import-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cpb-btn-import-upload { background: #1e293b !important; }
.cpb-btn-closet-save { background: #253150 !important; }
.cpb-breakdown-card {
margin-top: 0;
margin-bottom: 20px;
padding: 12px 16px;
background: #1a233a !important;
border-radius: 8px;
border: 1px solid #36456e !important;
}
.cpb-breakdown-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin-bottom: 8px;
flex-wrap: wrap;
}
.cpb-breakdown-title {
font-size: 13px;
font-weight: 700;
color: #ffffff !important;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.cpb-breakdown-total-label {
font-size: 12px;
color: #94a3b8 !important;
}
.cpb-breakdown-bar {
display: flex;
height: 10px;
width: 100%;
background: #121829 !important;
border-radius: 5px;
overflow: hidden;
gap: 2px;
}
.cpb-breakdown-segment {
display: block;
min-width: 2px;
height: 100%;
border-radius: 2px;
transition: opacity 0.2s ease;
}
.cpb-breakdown-segment:hover { opacity: 0.85; }
.cpb-breakdown-legend {
display: flex;
flex-wrap: wrap;
gap: 10px 16px;
margin-top: 10px;
font-size: 11px;
color: #cbd5e1 !important;
}
.cpb-breakdown-legend-item {
display: inline-flex;
align-items: center;
gap: 6px;
color: #cbd5e1 !important;
}
.cpb-breakdown-swatch {
width: 10px;
height: 10px;
border-radius: 2px;
flex-shrink: 0;
}
.cpb-breakdown-legend-weight {
color: #94a3b8 !important;
}
.cpb-breakdown-empty {
font-size: 11px;
color: #64748b !important;
font-style: italic;
}
.cpb-closet-section {
margin-top: 0;
padding: 16px;
background: #121829 !important;
border-radius: 8px;
border: 1px solid #36456e !important;
}
.cpb-closet-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.cpb-btn-closet-add-all {
flex-shrink: 0;
white-space: nowrap;
}
.cpb-btn-closet-add-all:disabled {
opacity: 0.45;
cursor: not-allowed !important;
}
.cpb-closet-checkbox-group {
margin-top: 0;
margin-bottom: 12px;
}
.cpb-closet-title {
margin: 0;
font-size: 15px;
color: #ffffff !important;
font-weight: 700;
}
.cpb-closet-subtitle {
font-size: 12px;
color: #94a3b8 !important;
}
.cpb-closet-form {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 12px;
}
.cpb-closet-input-name { flex: 2; min-width: 180px; }
.cpb-closet-name-wrap { flex: 2; min-width: 180px; }
.cpb-closet-input-category { flex: 1; min-width: 120px; }
.cpb-closet-input-weight { width: 80px; flex: 0 0 80px; }
.cpb-closet-container {
max-height: 180px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 6px;
padding-right: 4px;
}
.cpb-closet-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
background: #1a233a !important;
border: 1px solid #36456e !important;
border-radius: 6px;
color: #f8fafc !important;
font-size: 13px;
}
.cpb-closet-item-editing {
align-items: stretch;
padding: 10px;
}
.cpb-closet-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.cpb-closet-item-actions {
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0;
}
.cpb-closet-edit-form {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
align-items: center;
}
.cpb-closet-edit-input {
flex: 1 1 140px;
min-width: 100px;
}
.cpb-closet-edit-select {
flex: 1 1 140px;
min-width: 120px;
}
.cpb-closet-edit-checkboxes {
display: flex;
gap: 12px;
flex: 1 1 100%;
font-size: 12px;
color: #e2e8f0 !important;
}
.cpb-closet-edit-checkboxes label {
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
}
.cpb-closet-edit-actions {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.cpb-closet-edit-btn,
.cpb-closet-edit-save-btn,
.cpb-closet-edit-cancel-btn {
flex-shrink: 0;
padding: 4px 10px !important;
font-size: 12px !important;
border-radius: 6px !important;
cursor: pointer !important;
font-weight: 600 !important;
border: 1px solid #3b4d7a !important;
}
.cpb-closet-edit-btn {
background: transparent !important;
color: #94a3b8 !important;
border-color: #36456e !important;
}
.cpb-closet-edit-btn:hover {
color: #ffffff !important;
border-color: #64748b !important;
}
.cpb-closet-edit-save-btn {
background: #2b3964 !important;
color: #ffffff !important;
}
.cpb-closet-edit-save-btn:hover {
background: #3c4f8a !important;
}
.cpb-closet-edit-cancel-btn {
background: transparent !important;
color: #94a3b8 !important;
}
.cpb-closet-edit-cancel-btn:hover {
color: #ffffff !important;
}
.cpb-closet-add {
flex-shrink: 0;
padding: 4px 10px !important;
font-size: 12px !important;
background: #2b3964 !important;
color: #ffffff !important;
border: 1px solid #3b4d7a !important;
border-radius: 6px !important;
cursor: pointer !important;
font-weight: 600 !important;
}
.cpb-closet-add:hover {
background: #3c4f8a !important;
}
.cpb-closet-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #ffffff !important;
}
.cpb-closet-meta {
flex-shrink: 0;
font-size: 11px;
color: #94a3b8 !important;
}
.cpb-closet-remove {
flex-shrink: 0;
background: transparent !important;
border: none !important;
color: #94a3b8 !important;
font-size: 18px !important;
line-height: 1 !important;
cursor: pointer !important;
padding: 0 4px !important;
}
.cpb-closet-remove:hover { color: #fca5a5 !important; }
.cpb-closet-empty {
font-size: 12px;
color: #64748b !important;
font-style: italic;
padding: 8px 0;
}
.cpb-category-title {
font-size: 15px !important;
font-weight: 700 !important;
color: #f8fafc !important;
margin: 20px 0 12px 0 !important;
padding: 10px 16px 10px 14px !important;
border-bottom: none !important;
border-left: 4px solid #94a3b8 !important;
border-radius: 0 8px 8px 0 !important;
background: rgba(255, 255, 255, 0.04) !important;
display: flex !important;
align-items: center !important;
gap: 8px !important;
letter-spacing: 0.01em !important;
}
.cpb-cat-shelter { border-left-color: #38bdf8 !important; }
.cpb-cat-sleep-system { border-left-color: #a78bfa !important; }
.cpb-cat-cooking-water { border-left-color: #fbbf24 !important; }
.cpb-cat-electronics { border-left-color: #60a5fa !important; }
.cpb-cat-clothing-worn { border-left-color: #4ade80 !important; }
.cpb-cat-consumables { border-left-color: #fb923c !important; }
.cpb-cat-miscellaneous { border-left-color: #94a3b8 !important; }
.cpb-cat-packs { border-left-color: #f87171 !important; }
.cpb-item-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	background: #253150 !important;
	padding: 12px 16px !important;
	border-radius: 8px !important;
	border: 1px solid #36456e !important;
	margin-top: 8px !important;
	color: #ffffff !important;
	gap: 10px !important;
}
.cpb-item-body {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
}
.cpb-item-name {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	color: #ffffff !important;
}
.cpb-item-meta {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	gap: 10px !important;
}
.cpb-item-weight {
	font-size: 12px !important;
	color: #94a3b8 !important;
	white-space: nowrap !important;
}
.cpb-item-actions {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	gap: 6px !important;
}
.cpb-item-action-icon {
	display: none;
}
.cpb-item-action-label {
	display: inline;
}
.cpb-item-row-editing {
flex-direction: column !important;
align-items: stretch !important;
padding: 14px 16px !important;
}
.cpb-item-edit-form {
display: grid;
grid-template-columns: 1.5fr 1fr 0.5fr 0.65fr;
gap: 8px;
width: 100%;
align-items: center;
}
.cpb-item-edit-checkboxes {
display: flex;
flex-wrap: wrap;
gap: 12px 16px;
grid-column: 1 / -1;
font-size: 12px !important;
color: #f8fafc !important;
}
.cpb-item-edit-checkboxes label {
display: inline-flex !important;
align-items: center !important;
gap: 6px !important;
cursor: pointer !important;
color: #f8fafc !important;
}
.cpb-item-edit-actions {
display: flex;
gap: 8px;
grid-column: 1 / -1;
margin-top: 2px;
}
.cpb-edit-input,
.cpb-edit-select {
padding: 8px 10px !important;
font-size: 13px !important;
}
@media (max-width: 768px) {
.cpb-item-edit-form { grid-template-columns: 1fr 1fr; }
}
#clever-pack-app button.cpb-edit-btn,
#clever-pack-app .cpb-edit-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	flex-shrink: 0 !important;
	padding: 3px 8px !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
	color: #cbd5e1 !important;
	background: #1a233a !important;
	border: 1px solid #36456e !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
}
#clever-pack-app button.cpb-edit-btn:hover,
#clever-pack-app .cpb-edit-btn:hover {
color: #ffffff !important;
background: #2b3964 !important;
border-color: #3b4d7a !important;
}
#clever-pack-app button.cpb-edit-save-btn {
background: #2b3964 !important;
color: #ffffff !important;
border: 1px solid #3b4d7a !important;
border-radius: 6px !important;
padding: 6px 12px !important;
font-size: 12px !important;
font-weight: 600 !important;
cursor: pointer !important;
}
#clever-pack-app button.cpb-edit-save-btn:hover {
background: #3c4f8a !important;
}
#clever-pack-app button.cpb-edit-cancel-btn {
background: transparent !important;
color: #94a3b8 !important;
border: 1px solid #36456e !important;
border-radius: 6px !important;
padding: 6px 12px !important;
font-size: 12px !important;
cursor: pointer !important;
}
.cpb-item-right { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; flex-shrink: 0 !important; gap: 12px !important; white-space: nowrap !important; }
#clever-pack-app button.cpb-delete-btn,
#clever-pack-app .cpb-delete-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	color: #f87171 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	font-size: 16px !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	width: auto !important;
	line-height: 1 !important;
	font-weight: normal !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
#clever-pack-app button.cpb-delete-btn:hover,
#clever-pack-app .cpb-delete-btn:hover {
color: #fca5a5 !important;
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
box-shadow: none !important;
}
#clever-pack-app button.cpb-closet-save-btn,
#clever-pack-app .cpb-closet-save-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	flex-shrink: 0 !important;
	padding: 3px 8px !important;
	font-size: 11px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
	color: #cbd5e1 !important;
	background: #1a233a !important;
	border: 1px solid #36456e !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
}
#clever-pack-app button.cpb-closet-save-btn:hover,
#clever-pack-app .cpb-closet-save-btn:hover {
color: #ffffff !important;
background: #2b3964 !important;
border-color: #3b4d7a !important;
}
#clever-pack-app button.cpb-closet-save-btn--saved,
#clever-pack-app .cpb-closet-save-btn--saved {
color: #4ade80 !important;
background: transparent !important;
border-color: #166534 !important;
cursor: default !important;
opacity: 0.85 !important;
}
.cpb-print-check { display: none; }
.cpb-toast {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: #2b3964;
color: #ffffff;
padding: 10px 20px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease, transform 0.25s ease;
z-index: 9999;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.cpb-toast.cpb-toast-visible {
opacity: 1;
transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
.cpb-item-row {
	flex-wrap: wrap !important;
	padding: 10px 12px !important;
	gap: 8px !important;
}
.cpb-item-body {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
}
.cpb-item-name {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	line-height: 1.35 !important;
	font-size: 14px !important;
}
.cpb-item-meta {
	width: 100% !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}
.cpb-item-weight {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	white-space: normal !important;
	line-height: 1.3 !important;
}
.cpb-item-action-label {
	display: none !important;
}
.cpb-item-action-icon {
	display: inline-block !important;
	font-size: 13px !important;
}
#clever-pack-app button.cpb-edit-btn,
#clever-pack-app .cpb-closet-save-btn {
	min-width: 36px !important;
	min-height: 36px !important;
	padding: 8px !important;
}
#clever-pack-app button.cpb-delete-btn,
#clever-pack-app .cpb-delete-btn {
	min-width: 36px !important;
	min-height: 36px !important;
	padding: 8px !important;
	font-size: 14px !important;
	border: 1px solid #36456e !important;
	border-radius: 6px !important;
	background: #1a233a !important;
}
}

@media print {
body * { visibility: hidden; }
#clever-pack-app, #clever-pack-app * { visibility: visible; }
#clever-pack-app {
position: absolute;
left: 0;
top: 0;
width: 100%;
max-width: 100%;
margin: 0;
padding: 16px;
background: #ffffff !important;
color: #000000 !important;
box-shadow: none !important;
border: none !important;
}
#clever-pack-app h2 { color: #000000 !important; font-size: 22px !important; }
#clever-pack-app h2 i { color: #000000 !important; }
.cpb-header p,
.cpb-header-actions,
.cpb-identity,
.cpb-btn,
.cpb-form-box,
.cpb-closet-section,
.cpb-stats,
.cpb-breakdown-card,
.cpb-shakedown,
.cpb-delete-btn,
.cpb-edit-btn,
.cpb-closet-save-btn,
.cpb-item-row-editing,
.cpb-toast { display: none !important; }
.cpb-print-header {
display: block !important;
margin-bottom: 16px !important;
padding-bottom: 12px !important;
border-bottom: 2px solid #000000 !important;
}
.cpb-print-header-inner {
color: #000000 !important;
font-size: 15px !important;
margin-bottom: 10px !important;
}
.cpb-print-weights {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px 20px !important;
margin-bottom: 10px !important;
font-size: 13px !important;
color: #000000 !important;
}
.cpb-print-weights span { color: #000000 !important; }
.cpb-print-categories {
display: flex !important;
flex-wrap: wrap !important;
gap: 6px 14px !important;
margin-bottom: 4px !important;
font-size: 11px !important;
color: #333333 !important;
}
.cpb-print-category-item {
display: inline-block !important;
white-space: nowrap !important;
color: #333333 !important;
}
.cpb-print-check {
display: inline-block !important;
width: 14px;
height: 14px;
margin-right: 10px;
flex-shrink: 0;
accent-color: #000000;
}
.cpb-category-title {
color: #000000 !important;
border-left-color: #333333 !important;
background: #f5f5f5 !important;
margin-top: 16px !important;
justify-content: space-between !important;
}
.cpb-category-subtotal {
display: inline !important;
font-weight: 600 !important;
font-size: 12px !important;
color: #333333 !important;
margin-left: auto !important;
}
.cpb-item-row {
background: transparent !important;
border: none !important;
border-bottom: 1px solid #dddddd !important;
border-radius: 0 !important;
color: #000000 !important;
padding: 8px 0 !important;
page-break-inside: avoid;
}
.cpb-item-row > span,
.cpb-item-name { color: #000000 !important; }
.cpb-item-weight,
.cpb-item-right span { color: #333333 !important; }
}

/* --- Mobile layout pass --- */
@media (max-width: 959px) {
.cpb-dashboard-grid {
grid-template-columns: 1fr;
gap: 16px;
}
}

@media (max-width: 640px) {
#clever-pack-app {
padding: 16px !important;
margin: 12px auto !important;
border-radius: 12px !important;
box-sizing: border-box;
}
#clever-pack-app h2 {
font-size: 22px !important;
line-height: 1.2 !important;
}
#clever-pack-app .cpb-header > div:first-child {
min-width: 0;
width: 100%;
}
#clever-pack-app .cpb-header p {
font-size: 14px !important;
line-height: 1.45 !important;
margin-top: 6px !important;
}
.cpb-header {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12px;
padding-bottom: 12px;
margin-bottom: 16px;
width: 100%;
}
.cpb-header-actions {
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.cpb-header-actions .cpb-btn {
width: 100%;
min-height: 44px;
padding: 10px 12px !important;
box-sizing: border-box;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
white-space: normal !important;
line-height: 1.25;
font-size: 13px !important;
}
.cpb-header-actions .cpb-btn-reset {
grid-column: 1 / -1;
min-height: 44px;
}
.cpb-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cpb-import-actions {
flex-direction: column;
}
.cpb-import-actions .cpb-btn {
width: 100%;
text-align: center;
}
.cpb-checkbox-group {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.cpb-closet-header {
flex-direction: column;
align-items: stretch;
}
.cpb-btn-closet-add-all {
width: 100%;
text-align: center;
}
.cpb-closet-form {
flex-direction: column;
align-items: stretch;
}
.cpb-closet-form .cpb-closet-name-wrap,
.cpb-closet-form .cpb-closet-input-name,
.cpb-closet-form .cpb-closet-input-category,
.cpb-closet-form .cpb-closet-input-weight,
.cpb-closet-form .cpb-btn-closet-save {
width: 100%;
flex: 1 1 auto;
min-width: 0;
}
.cpb-closet-comfort-rating-wrap {
width: 100%;
}
.cpb-closet-item {
flex-wrap: wrap;
align-items: stretch;
gap: 10px;
padding: 10px 12px;
}
.cpb-closet-item-editing {
padding: 12px;
}
.cpb-closet-add {
align-self: flex-start;
min-height: 36px;
}
.cpb-closet-body {
flex: 1 1 100%;
min-width: 0;
}
.cpb-closet-name {
white-space: normal;
word-break: break-word;
line-height: 1.35;
}
.cpb-closet-meta {
display: block;
margin-top: 4px;
white-space: normal;
line-height: 1.35;
}
.cpb-closet-item-actions {
width: 100%;
justify-content: flex-end;
gap: 8px;
}
.cpb-closet-edit-form {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.cpb-closet-edit-input,
.cpb-closet-edit-select {
flex: 1 1 auto;
width: 100%;
min-width: 0;
}
.cpb-closet-edit-actions {
width: 100%;
justify-content: stretch;
gap: 8px;
}
.cpb-closet-edit-save-btn,
.cpb-closet-edit-cancel-btn {
flex: 1 1 0;
min-height: 40px;
text-align: center;
}
.cpb-item-edit-form {
grid-template-columns: 1fr;
}
.cpb-item-edit-actions {
flex-wrap: wrap;
}
.cpb-item-edit-actions button {
flex: 1 1 calc(50% - 4px);
min-height: 40px;
}
}

@media (max-width: 480px) {
.cpb-stats {
grid-template-columns: 1fr;
}
.cpb-stat-val {
font-size: 20px !important;
}
.cpb-header-actions {
grid-template-columns: 1fr;
}
}