:root{color:#1f2937;background:#fff;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400}*{box-sizing:border-box}html,body,#root{min-height:100%;min-height:100dvh;background:#fff}#root{display:flex;flex-direction:column}body{margin:0;min-width:320px}button,input,textarea{font:inherit}.app{flex:1;display:flex;flex-direction:column;width:100%;max-width:960px;margin:0 auto;min-height:100dvh;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));background:#fff}.app-employee{max-width:430px;padding:0;background:#f8fafc}.app-employee .header{align-items:center;margin:0;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;background:#2563eb;color:#fff}.app-employee .header-brand{display:flex;align-items:center;min-width:0;gap:10px}.app-employee h1{font-size:1rem;font-weight:700;line-height:1.25;color:#fff}.app-employee .header-qualifier{display:block;font-size:.75rem;font-weight:600;color:#fffc}.app-employee .subtitle{margin:2px 0 0;color:#fffc;font-size:.75rem}.app-employee .header-icon-btn{width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:#ffffff29;color:#fff;border-radius:10px}.app-employee .header-icon-btn:hover:not(:disabled){background:#ffffff47}.app-employee .layout{padding:16px 16px calc(80px + env(safe-area-inset-bottom,0px))}.app-employee .pwa-hint{margin:0 16px calc(72px + env(safe-area-inset-bottom,0px))}.birthday-banner{margin:0;padding:14px 20px;text-align:center;font-size:1.125rem;font-weight:700;letter-spacing:.02em;color:#9d174d;background:linear-gradient(90deg,#fce7f3,#fde68a,#fce7f3);border:none;border-radius:0}.header{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}@media(max-width:639px){.header{margin-bottom:16px;gap:12px}h1{font-size:1.375rem}}.header-brand{display:flex;align-items:flex-start;gap:10px}.header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}h1{margin:0;font-size:1.75rem}h2{margin:0 0 12px;font-size:1.125rem}.subtitle,.hint{margin:8px 0 0;color:#6b7280}.auth-switch{margin-top:16px}.link-button{padding:0;background:none;color:#2563eb;text-decoration:underline}.link-button:hover:not(:disabled){background:none;color:#1d4ed8}.info-box{display:grid;gap:4px;margin-top:12px;padding:12px;border-radius:8px;background:#f9fafb;color:#374151}.layout{flex:1;display:flex;flex-direction:column;gap:16px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 1px 2px #0f172a0d}.card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.card-header h2{margin:0;min-width:0;flex:1}.card-header-actions{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px}.employee-shell{flex:1;display:flex;flex-direction:column;min-height:0}.home-grid{display:grid;gap:8px}.home-welcome{margin:4px 0 0;font-size:1.35rem;font-weight:700;color:#111827}.home-welcome-hint{margin:0 0 8px;color:#6b7280;font-size:.9rem}.home-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-tiles-compact button.home-tile{min-height:136px;padding:10px 8px 8px;gap:4px}.home-tiles-compact .home-tile-art{width:64px;height:64px}.home-tiles-topics .home-tile{min-height:164px}.home-tiles-topics .home-tile strong{font-size:.82rem}button.home-tile{position:relative;display:grid;justify-items:center;gap:8px;min-height:180px;padding:18px 12px 16px;background:#fff;color:#111827;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 20px #0f172a0d}button.home-tile .home-tile-badge{position:absolute;top:8px;right:8px;min-width:20px;height:20px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#2563eb;color:#fff;font-size:.7rem;font-weight:700;line-height:1}button.home-tile:hover:not(:disabled){background:#f8fafc;border-color:#93c5fd}.home-tile-art{width:88px;height:88px}button.home-tile strong{font-size:.95rem;line-height:1.25;text-align:center}button.home-tile span{font-size:.75rem;font-weight:500;color:#6b7280;text-align:center}.app-tabbar{position:fixed;left:50%;bottom:0;z-index:5;display:grid;width:100%;max-width:430px;transform:translate(-50%);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e5e7eb}.app-tabbar button{display:grid;justify-items:center;gap:2px;padding:8px 4px;background:transparent;color:#94a3b8;font-size:.7rem;font-weight:700}.app-tabbar button:hover:not(:disabled){background:transparent;color:#2563eb}.app-tabbar button.is-active{color:#2563eb}.auth-screen{display:grid;justify-items:center;gap:12px;padding:24px 8px 8px;text-align:center}.auth-logo{display:block;width:128px;height:128px;margin-bottom:4px;object-fit:contain}.auth-screen h2{margin:0}.auth-screen .form{width:100%;text-align:left}.auth-screen .form button[type=submit]{width:100%;padding:12px 14px;border-radius:10px}.info-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:24px;background:#0f172a73}.info-dialog{width:min(100%,360px);padding:24px 20px 20px;background:#fff;border-radius:18px;box-shadow:0 16px 40px #0f172a29;text-align:center}.info-dialog h2{margin:0 0 12px;font-size:1.125rem;color:#111827}.info-dialog p{margin:0 0 20px;color:#4b5563;font-size:.95rem;font-weight:400}.info-dialog button{width:100%;padding:12px 14px;border-radius:10px}.form{display:grid;gap:12px}label{display:grid;gap:6px;font-size:.875rem;font-weight:600}.label-underline{text-decoration:underline}input,textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}input:focus,textarea:focus{outline:2px solid #2563eb;outline-offset:1px}.phone-field{display:flex;align-items:stretch;width:100%;border:1px solid #d1d5db;border-radius:8px;background:#fff;overflow:hidden}.phone-prefix{display:flex;align-items:center;padding:10px 0 10px 12px;color:#111827;font-weight:600;-webkit-user-select:none;user-select:none}.phone-field input{border:none;border-radius:0;padding-left:6px}.phone-field input:focus{outline:none}.phone-field:focus-within{outline:2px solid #2563eb;outline-offset:1px}textarea{resize:vertical;min-height:120px}button{border:none;border-radius:8px;padding:10px 14px;background:#2563eb;color:#fff;cursor:pointer}button:hover:not(:disabled){background:#1d4ed8}button:disabled{opacity:.6;cursor:not-allowed}button.secondary{background:#eef2ff;color:#1e3a8a}button.secondary:hover:not(:disabled){background:#dbeafe}button.danger{background:#fee2e2;color:#991b1b}button.danger:hover:not(:disabled){background:#fecaca}.status-badge{align-self:flex-start;padding:6px 10px;border-radius:999px;font-size:.8125rem;font-weight:600}.status-loading{background:#fef3c7;color:#92400e}.status-ok{background:#dcfce7;color:#166534}.status-error{background:#fee2e2;color:#991b1b}.success{margin:12px 0 0;color:#166534}.error{margin:12px 0 0;color:#b91c1c}.user-search{margin-bottom:12px}.user-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.user-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:10px}.user-item strong{display:block}.user-item span{display:block;color:#374151}.user-item .meta{font-size:.8125rem;color:#6b7280}.user-item-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.app-employee .user-item{flex-direction:column;align-items:stretch}.app-employee .user-item-actions{justify-content:stretch}.app-employee .user-item-actions button{flex:1}.issued-password{margin-top:16px;padding:16px;border:1px dashed #86efac;border-radius:12px;background:#f0fdf4}.issued-password-value{margin:8px 0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.5rem;font-weight:700;letter-spacing:.12em;color:#14532d}.credential-table-wrap{margin-top:16px;overflow-x:auto}.credential-table{width:100%;border-collapse:collapse;font-size:.9375rem}.credential-table th,.credential-table td{padding:8px 10px;text-align:left;border-bottom:1px solid #bbf7d0}.credential-table .issued-password-value{margin:0;font-size:1rem}.request-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}button.request-item{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:inherit;text-align:left}button.request-item:hover:not(:disabled){background:#f8fafc;border-color:#c7d2fe}.request-item strong{display:block}.request-item .meta,.request-detail .meta{display:block;margin:4px 0 0;font-size:.8125rem;font-weight:400;color:#6b7280}.request-status{flex-shrink:0;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:600}.request-status-new{background:#dbeafe;color:#1e40af}.request-status-in_progress{background:#fef3c7;color:#92400e}.request-status-done{background:#dcfce7;color:#166534}.request-status-cancelled{background:#f3f4f6;color:#4b5563}.request-detail-title{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.request-detail h3{margin:0;font-size:1.125rem}.request-description{margin:16px 0 0;white-space:pre-wrap;color:#111827}.filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}button.filter-tab{padding:6px 12px;background:#f3f4f6;color:#374151;font-size:.8125rem;font-weight:600}button.filter-tab:hover:not(:disabled){background:#e5e7eb}button.filter-tab.is-active{background:#1e3a8a;color:#fff}button.filter-tab.is-active:hover:not(:disabled){background:#1e40af}.request-actions{display:grid;gap:12px;margin-top:16px}.request-action-buttons{display:flex;flex-wrap:wrap;gap:8px}.history{margin-top:20px}.history h3{margin-bottom:12px}.history-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.history-item{padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb}.history-item-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.history-comment{margin:8px 0 0;white-space:pre-wrap;color:#111827}.pwa-hint{position:sticky;bottom:12px;margin:16px 0 0;padding:14px 16px;display:grid;gap:10px;background:#0f172a;color:#f8fafc;border-radius:12px;box-shadow:0 8px 24px #0f172a33}.pwa-hint p{margin:0;font-size:.9375rem}.pwa-hint-actions{display:flex;flex-wrap:wrap;gap:8px}
